Class EnabledResourceTypePropertiesTypesMetadataItem

java.lang.Object
com.azure.resourcemanager.extendedlocation.models.EnabledResourceTypePropertiesTypesMetadataItem

public final class EnabledResourceTypePropertiesTypesMetadataItem extends Object
Metadata of the Resource Type.
  • Constructor Details

    • EnabledResourceTypePropertiesTypesMetadataItem

      public EnabledResourceTypePropertiesTypesMetadataItem()
  • Method Details

    • apiVersion

      public String apiVersion()
      Get the apiVersion property: Api Version of Resource Type.
      Returns:
      the apiVersion value.
    • withApiVersion

      public EnabledResourceTypePropertiesTypesMetadataItem withApiVersion(String apiVersion)
      Set the apiVersion property: Api Version of Resource Type.
      Parameters:
      apiVersion - the apiVersion value to set.
      Returns:
      the EnabledResourceTypePropertiesTypesMetadataItem object itself.
    • resourceProviderNamespace

      public String resourceProviderNamespace()
      Get the resourceProviderNamespace property: Resource Provider Namespace of Resource Type.
      Returns:
      the resourceProviderNamespace value.
    • withResourceProviderNamespace

      public EnabledResourceTypePropertiesTypesMetadataItem withResourceProviderNamespace(String resourceProviderNamespace)
      Set the resourceProviderNamespace property: Resource Provider Namespace of Resource Type.
      Parameters:
      resourceProviderNamespace - the resourceProviderNamespace value to set.
      Returns:
      the EnabledResourceTypePropertiesTypesMetadataItem object itself.
    • resourceType

      public String resourceType()
      Get the resourceType property: Resource Type.
      Returns:
      the resourceType value.
    • withResourceType

      public EnabledResourceTypePropertiesTypesMetadataItem withResourceType(String resourceType)
      Set the resourceType property: Resource Type.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the EnabledResourceTypePropertiesTypesMetadataItem object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.