Class ConnectionTypeCreateOrUpdateParameters

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

public final class ConnectionTypeCreateOrUpdateParameters extends Object
The parameters supplied to the create or update connection type operation.
  • Constructor Details

    • ConnectionTypeCreateOrUpdateParameters

      public ConnectionTypeCreateOrUpdateParameters()
  • Method Details

    • name

      public String 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

      public Boolean isGlobal()
      Get the isGlobal property: Gets or sets a Boolean value to indicate if the connection type is global.
      Returns:
      the isGlobal value.
    • withIsGlobal

      public ConnectionTypeCreateOrUpdateParameters withIsGlobal(Boolean isGlobal)
      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

      public Map<String,FieldDefinition> 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.