Class ProviderResourceType


  • public final class ProviderResourceType
    extends Object
    Resource type managed by the resource provider.
    • Constructor Detail

      • ProviderResourceType

        public ProviderResourceType()
    • Method Detail

      • resourceType

        public String resourceType()
        Get the resourceType property: The resource type.
        Returns:
        the resourceType value.
      • withResourceType

        public ProviderResourceType withResourceType​(String resourceType)
        Set the resourceType property: The resource type.
        Parameters:
        resourceType - the resourceType value to set.
        Returns:
        the ProviderResourceType object itself.
      • locations

        public List<String> locations()
        Get the locations property: The collection of locations where this resource type can be created.
        Returns:
        the locations value.
      • withLocations

        public ProviderResourceType withLocations​(List<String> locations)
        Set the locations property: The collection of locations where this resource type can be created.
        Parameters:
        locations - the locations value to set.
        Returns:
        the ProviderResourceType object itself.
      • locationMappings

        public List<ProviderExtendedLocation> locationMappings()
        Get the locationMappings property: The location mappings that are supported by this resource type.
        Returns:
        the locationMappings value.
      • withLocationMappings

        public ProviderResourceType withLocationMappings​(List<ProviderExtendedLocation> locationMappings)
        Set the locationMappings property: The location mappings that are supported by this resource type.
        Parameters:
        locationMappings - the locationMappings value to set.
        Returns:
        the ProviderResourceType object itself.
      • aliases

        public List<Alias> aliases()
        Get the aliases property: The aliases that are supported by this resource type.
        Returns:
        the aliases value.
      • withAliases

        public ProviderResourceType withAliases​(List<Alias> aliases)
        Set the aliases property: The aliases that are supported by this resource type.
        Parameters:
        aliases - the aliases value to set.
        Returns:
        the ProviderResourceType object itself.
      • apiVersions

        public List<String> apiVersions()
        Get the apiVersions property: The API version.
        Returns:
        the apiVersions value.
      • withApiVersions

        public ProviderResourceType withApiVersions​(List<String> apiVersions)
        Set the apiVersions property: The API version.
        Parameters:
        apiVersions - the apiVersions value to set.
        Returns:
        the ProviderResourceType object itself.
      • defaultApiVersion

        public String defaultApiVersion()
        Get the defaultApiVersion property: The default API version.
        Returns:
        the defaultApiVersion value.
      • zoneMappings

        public List<ZoneMapping> zoneMappings()
        Get the zoneMappings property: The zoneMappings property.
        Returns:
        the zoneMappings value.
      • withZoneMappings

        public ProviderResourceType withZoneMappings​(List<ZoneMapping> zoneMappings)
        Set the zoneMappings property: The zoneMappings property.
        Parameters:
        zoneMappings - the zoneMappings value to set.
        Returns:
        the ProviderResourceType object itself.
      • apiProfiles

        public List<ApiProfile> apiProfiles()
        Get the apiProfiles property: The API profiles for the resource provider.
        Returns:
        the apiProfiles value.
      • capabilities

        public String capabilities()
        Get the capabilities property: The additional capabilities offered by this resource type.
        Returns:
        the capabilities value.
      • withCapabilities

        public ProviderResourceType withCapabilities​(String capabilities)
        Set the capabilities property: The additional capabilities offered by this resource type.
        Parameters:
        capabilities - the capabilities value to set.
        Returns:
        the ProviderResourceType object itself.
      • properties

        public Map<String,​String> properties()
        Get the properties property: The properties.
        Returns:
        the properties value.
      • withProperties

        public ProviderResourceType withProperties​(Map<String,​String> properties)
        Set the properties property: The properties.
        Parameters:
        properties - the properties value to set.
        Returns:
        the ProviderResourceType object itself.
      • validate

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