Class FieldDefinition

java.lang.Object
com.azure.resourcemanager.automation.models.FieldDefinition

public final class FieldDefinition extends Object
Definition of the connection fields.
  • Constructor Details

    • FieldDefinition

      public FieldDefinition()
  • Method Details

    • isEncrypted

      public Boolean isEncrypted()
      Get the isEncrypted property: Gets or sets the isEncrypted flag of the connection field definition.
      Returns:
      the isEncrypted value.
    • withIsEncrypted

      public FieldDefinition withIsEncrypted(Boolean isEncrypted)
      Set the isEncrypted property: Gets or sets the isEncrypted flag of the connection field definition.
      Parameters:
      isEncrypted - the isEncrypted value to set.
      Returns:
      the FieldDefinition object itself.
    • isOptional

      public Boolean isOptional()
      Get the isOptional property: Gets or sets the isOptional flag of the connection field definition.
      Returns:
      the isOptional value.
    • withIsOptional

      public FieldDefinition withIsOptional(Boolean isOptional)
      Set the isOptional property: Gets or sets the isOptional flag of the connection field definition.
      Parameters:
      isOptional - the isOptional value to set.
      Returns:
      the FieldDefinition object itself.
    • type

      public String type()
      Get the type property: Gets or sets the type of the connection field definition.
      Returns:
      the type value.
    • withType

      public FieldDefinition withType(String type)
      Set the type property: Gets or sets the type of the connection field definition.
      Parameters:
      type - the type value to set.
      Returns:
      the FieldDefinition object itself.
    • validate

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