Class FieldDefinition
java.lang.Object
com.azure.resourcemanager.automation.models.FieldDefinition
Definition of the connection fields.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the isEncrypted property: Gets or sets the isEncrypted flag of the connection field definition.Get the isOptional property: Gets or sets the isOptional flag of the connection field definition.type()
Get the type property: Gets or sets the type of the connection field definition.void
validate()
Validates the instance.withIsEncrypted
(Boolean isEncrypted) Set the isEncrypted property: Gets or sets the isEncrypted flag of the connection field definition.withIsOptional
(Boolean isOptional) Set the isOptional property: Gets or sets the isOptional flag of the connection field definition.Set the type property: Gets or sets the type of the connection field definition.
-
Constructor Details
-
FieldDefinition
public FieldDefinition()
-
-
Method Details
-
isEncrypted
Get the isEncrypted property: Gets or sets the isEncrypted flag of the connection field definition.- Returns:
- the isEncrypted value.
-
withIsEncrypted
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
Get the isOptional property: Gets or sets the isOptional flag of the connection field definition.- Returns:
- the isOptional value.
-
withIsOptional
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
Get the type property: Gets or sets the type of the connection field definition.- Returns:
- the type value.
-
withType
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.
-