Class ConnectionTypeCreateOrUpdateParameters
java.lang.Object
com.azure.resourcemanager.automation.models.ConnectionTypeCreateOrUpdateParameters
The parameters supplied to the create or update connection type operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the fieldDefinitions property: Gets or sets the field definitions of the connection type.isGlobal()
Get the isGlobal property: Gets or sets a Boolean value to indicate if the connection type is global.name()
Get the name property: Gets or sets the name of the connection type.void
validate()
Validates the instance.withFieldDefinitions
(Map<String, FieldDefinition> fieldDefinitions) Set the fieldDefinitions property: Gets or sets the field definitions of the connection type.withIsGlobal
(Boolean isGlobal) Set the isGlobal property: Gets or sets a Boolean value to indicate if the connection type is global.Set the name property: Gets or sets the name of the connection type.
-
Constructor Details
-
ConnectionTypeCreateOrUpdateParameters
public ConnectionTypeCreateOrUpdateParameters()
-
-
Method Details
-
name
Get the name property: Gets or sets the name of the connection type.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the name of the connection type.- Parameters:
name
- the name value to set.- Returns:
- the ConnectionTypeCreateOrUpdateParameters object itself.
-
isGlobal
Get the isGlobal property: Gets or sets a Boolean value to indicate if the connection type is global.- Returns:
- the isGlobal value.
-
withIsGlobal
Set the isGlobal property: Gets or sets a Boolean value to indicate if the connection type is global.- Parameters:
isGlobal
- the isGlobal value to set.- Returns:
- the ConnectionTypeCreateOrUpdateParameters object itself.
-
fieldDefinitions
Get the fieldDefinitions property: Gets or sets the field definitions of the connection type.- Returns:
- the fieldDefinitions value.
-
withFieldDefinitions
public ConnectionTypeCreateOrUpdateParameters withFieldDefinitions(Map<String, FieldDefinition> fieldDefinitions) Set the fieldDefinitions property: Gets or sets the field definitions of the connection type.- Parameters:
fieldDefinitions
- the fieldDefinitions value to set.- Returns:
- the ConnectionTypeCreateOrUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-