Class ConnectionProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.ConnectionProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectionProperties>

public final class ConnectionProperties extends Object implements com.azure.json.JsonSerializable<ConnectionProperties>
Definition of the connection properties.
  • Constructor Details

    • ConnectionProperties

      public ConnectionProperties()
      Creates an instance of ConnectionProperties class.
  • Method Details

    • connectionType

      public ConnectionTypeAssociationProperty connectionType()
      Get the connectionType property: Gets or sets the connectionType of the connection.
      Returns:
      the connectionType value.
    • withConnectionType

      public ConnectionProperties withConnectionType(ConnectionTypeAssociationProperty connectionType)
      Set the connectionType property: Gets or sets the connectionType of the connection.
      Parameters:
      connectionType - the connectionType value to set.
      Returns:
      the ConnectionProperties object itself.
    • fieldDefinitionValues

      public Map<String,String> fieldDefinitionValues()
      Get the fieldDefinitionValues property: Gets the field definition values of the connection.
      Returns:
      the fieldDefinitionValues value.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: Gets the creation time.
      Returns:
      the creationTime value.
    • lastModifiedTime

      public OffsetDateTime lastModifiedTime()
      Get the lastModifiedTime property: Gets the last modified time.
      Returns:
      the lastModifiedTime value.
    • description

      public String description()
      Get the description property: Gets or sets the description.
      Returns:
      the description value.
    • withDescription

      public ConnectionProperties withDescription(String description)
      Set the description property: Gets or sets the description.
      Parameters:
      description - the description value to set.
      Returns:
      the ConnectionProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ConnectionProperties>
      Throws:
      IOException
    • fromJson

      public static ConnectionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ConnectionProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ConnectionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ConnectionProperties.