ConnectionCreateOrUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.models.ConnectionCreateOrUpdateParameters

public final class ConnectionCreateOrUpdateParameters

The parameters supplied to the create or update connection operation.

Constructor Summary

Constructor Description
ConnectionCreateOrUpdateParameters()

Method Summary

Modifier and Type Method and Description
ConnectionTypeAssociationProperty connectionType()

Get the connectionType property: Gets or sets the connectionType of the connection.

String description()

Get the description property: Gets or sets the description of the connection.

Map<String,String> fieldDefinitionValues()

Get the fieldDefinitionValues property: Gets or sets the field definition properties of the connection.

String name()

Get the name property: Gets or sets the name of the connection.

void validate()

Validates the instance.

ConnectionCreateOrUpdateParameters withConnectionType(ConnectionTypeAssociationProperty connectionType)

Set the connectionType property: Gets or sets the connectionType of the connection.

ConnectionCreateOrUpdateParameters withDescription(String description)

Set the description property: Gets or sets the description of the connection.

ConnectionCreateOrUpdateParameters withFieldDefinitionValues(Map<String,String> fieldDefinitionValues)

Set the fieldDefinitionValues property: Gets or sets the field definition properties of the connection.

ConnectionCreateOrUpdateParameters withName(String name)

Set the name property: Gets or sets the name of the connection.

Methods inherited from java.lang.Object

Constructor Details

ConnectionCreateOrUpdateParameters

public ConnectionCreateOrUpdateParameters()

Method Details

connectionType

public ConnectionTypeAssociationProperty connectionType()

Get the connectionType property: Gets or sets the connectionType of the connection.

Returns:

the connectionType value.

description

public String description()

Get the description property: Gets or sets the description of the connection.

Returns:

the description value.

fieldDefinitionValues

public Map fieldDefinitionValues()

Get the fieldDefinitionValues property: Gets or sets the field definition properties of the connection.

Returns:

the fieldDefinitionValues value.

name

public String name()

Get the name property: Gets or sets the name of the connection.

Returns:

the name value.

validate

public void validate()

Validates the instance.

withConnectionType

public ConnectionCreateOrUpdateParameters withConnectionType(ConnectionTypeAssociationProperty connectionType)

Set the connectionType property: Gets or sets the connectionType of the connection.

Parameters:

connectionType - the connectionType value to set.

Returns:

the ConnectionCreateOrUpdateParameters object itself.

withDescription

public ConnectionCreateOrUpdateParameters withDescription(String description)

Set the description property: Gets or sets the description of the connection.

Parameters:

description - the description value to set.

Returns:

the ConnectionCreateOrUpdateParameters object itself.

withFieldDefinitionValues

public ConnectionCreateOrUpdateParameters withFieldDefinitionValues(Map fieldDefinitionValues)

Set the fieldDefinitionValues property: Gets or sets the field definition properties of the connection.

Parameters:

fieldDefinitionValues - the fieldDefinitionValues value to set.

Returns:

the ConnectionCreateOrUpdateParameters object itself.

withName

public ConnectionCreateOrUpdateParameters withName(String name)

Set the name property: Gets or sets the name of the connection.

Parameters:

name - the name value to set.

Returns:

the ConnectionCreateOrUpdateParameters object itself.

Applies to