Class ParameterDefinitionsValueMetadata


  • public final class ParameterDefinitionsValueMetadata
    extends Object
    General metadata for the parameter.
    • Constructor Detail

      • ParameterDefinitionsValueMetadata

        public ParameterDefinitionsValueMetadata()
    • Method Detail

      • displayName

        public String displayName()
        Get the displayName property: The display name for the parameter.
        Returns:
        the displayName value.
      • withDisplayName

        public ParameterDefinitionsValueMetadata withDisplayName​(String displayName)
        Set the displayName property: The display name for the parameter.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the ParameterDefinitionsValueMetadata object itself.
      • description

        public String description()
        Get the description property: The description of the parameter.
        Returns:
        the description value.
      • withDescription

        public ParameterDefinitionsValueMetadata withDescription​(String description)
        Set the description property: The description of the parameter.
        Parameters:
        description - the description value to set.
        Returns:
        the ParameterDefinitionsValueMetadata object itself.
      • strongType

        public String strongType()
        Get the strongType property: Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
        Returns:
        the strongType value.
      • withStrongType

        public ParameterDefinitionsValueMetadata withStrongType​(String strongType)
        Set the strongType property: Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
        Parameters:
        strongType - the strongType value to set.
        Returns:
        the ParameterDefinitionsValueMetadata object itself.
      • assignPermissions

        public Boolean assignPermissions()
        Get the assignPermissions property: Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.
        Returns:
        the assignPermissions value.
      • withAssignPermissions

        public ParameterDefinitionsValueMetadata withAssignPermissions​(Boolean assignPermissions)
        Set the assignPermissions property: Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.
        Parameters:
        assignPermissions - the assignPermissions value to set.
        Returns:
        the ParameterDefinitionsValueMetadata object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: General metadata for the parameter.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public ParameterDefinitionsValueMetadata withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: General metadata for the parameter.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the ParameterDefinitionsValueMetadata object itself.
      • validate

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