Class DeviceManagementConfigurationStringSettingValueDefinition

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class DeviceManagementConfigurationStringSettingValueDefinition
    extends DeviceManagementConfigurationSettingValueDefinition
    implements com.github.davidmoten.odata.client.ODataType
    “String constraints”
    • Constructor Detail

      • DeviceManagementConfigurationStringSettingValueDefinition

        protected DeviceManagementConfigurationStringSettingValueDefinition()
    • Method Detail

      • withFormat

        public DeviceManagementConfigurationStringSettingValueDefinition withFormat​(DeviceManagementConfigurationStringFormat format)
        Returns an immutable copy of this with just the format field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Pre-defined format of the string”

        Parameters:
        format - new value of format field (as defined in service metadata)
        Returns:
        immutable copy of this with just the format field changed
      • getInputValidationSchema

        public Optional<String> getInputValidationSchema()
        “Regular expression or any xml or json schema that the input string should match”
        Returns:
        property inputValidationSchema
      • withInputValidationSchema

        public DeviceManagementConfigurationStringSettingValueDefinition withInputValidationSchema​(String inputValidationSchema)
        Returns an immutable copy of this with just the inputValidationSchema field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Regular expression or any xml or json schema that the input string should match”

        Parameters:
        inputValidationSchema - new value of inputValidationSchema field (as defined in service metadata)
        Returns:
        immutable copy of this with just the inputValidationSchema field changed
      • getIsSecret

        public Optional<Boolean> getIsSecret()
        “Specifies whether the setting needs to be treated as a secret. Settings marked as yes will be encrypted in transit and at rest and will be displayed as asterisks when represented in the UX.”
        Returns:
        property isSecret
      • withIsSecret

        public DeviceManagementConfigurationStringSettingValueDefinition withIsSecret​(Boolean isSecret)
        Returns an immutable copy of this with just the isSecret field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Specifies whether the setting needs to be treated as a secret. Settings marked as yes will be encrypted in transit and at rest and will be displayed as asterisks when represented in the UX.”

        Parameters:
        isSecret - new value of isSecret field (as defined in service metadata)
        Returns:
        immutable copy of this with just the isSecret field changed
      • getMaximumLength

        public Optional<Long> getMaximumLength()
        “Maximum length of string. Valid values 0 to 87516”
        Returns:
        property maximumLength
      • withMaximumLength

        public DeviceManagementConfigurationStringSettingValueDefinition withMaximumLength​(Long maximumLength)
        Returns an immutable copy of this with just the maximumLength field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Maximum length of string. Valid values 0 to 87516”

        Parameters:
        maximumLength - new value of maximumLength field (as defined in service metadata)
        Returns:
        immutable copy of this with just the maximumLength field changed
      • getMinimumLength

        public Optional<Long> getMinimumLength()
        “Minimum length of string. Valid values 0 to 87516”
        Returns:
        property minimumLength
      • withMinimumLength

        public DeviceManagementConfigurationStringSettingValueDefinition withMinimumLength​(Long minimumLength)
        Returns an immutable copy of this with just the minimumLength field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Minimum length of string. Valid values 0 to 87516”

        Parameters:
        minimumLength - new value of minimumLength field (as defined in service metadata)
        Returns:
        immutable copy of this with just the minimumLength field changed
      • builderDeviceManagementConfigurationStringSettingValueDefinition

        public static DeviceManagementConfigurationStringSettingValueDefinition.Builder builderDeviceManagementConfigurationStringSettingValueDefinition()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class