Class ConnectionCreateOrUpdateProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.ConnectionCreateOrUpdateProperties
The properties of the create connection properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionType property: Gets or sets the connectionType of the connection.Get the description property: Gets or sets the description of the connection.Get the fieldDefinitionValues property: Gets or sets the field definition properties of the connection.void
validate()
Validates the instance.withConnectionType
(ConnectionTypeAssociationProperty connectionType) Set the connectionType property: Gets or sets the connectionType of the connection.withDescription
(String description) Set the description property: Gets or sets the description of the connection.withFieldDefinitionValues
(Map<String, String> fieldDefinitionValues) Set the fieldDefinitionValues property: Gets or sets the field definition properties of the connection.
-
Constructor Details
-
ConnectionCreateOrUpdateProperties
public ConnectionCreateOrUpdateProperties()
-
-
Method Details
-
description
Get the description property: Gets or sets the description of the connection.- Returns:
- the description value.
-
withDescription
Set the description property: Gets or sets the description of the connection.- Parameters:
description
- the description value to set.- Returns:
- the ConnectionCreateOrUpdateProperties object itself.
-
connectionType
Get the connectionType property: Gets or sets the connectionType of the connection.- Returns:
- the connectionType value.
-
withConnectionType
public ConnectionCreateOrUpdateProperties withConnectionType(ConnectionTypeAssociationProperty connectionType) Set the connectionType property: Gets or sets the connectionType of the connection.- Parameters:
connectionType
- the connectionType value to set.- Returns:
- the ConnectionCreateOrUpdateProperties object itself.
-
fieldDefinitionValues
Get the fieldDefinitionValues property: Gets or sets the field definition properties of the connection.- Returns:
- the fieldDefinitionValues value.
-
withFieldDefinitionValues
public ConnectionCreateOrUpdateProperties withFieldDefinitionValues(Map<String, String> fieldDefinitionValues) Set the fieldDefinitionValues property: Gets or sets the field definition properties of the connection.- Parameters:
fieldDefinitionValues
- the fieldDefinitionValues value to set.- Returns:
- the ConnectionCreateOrUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-