Interface Connection.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Connection.Builder,Connection>, SdkBuilder<Connection.Builder,Connection>, SdkPojo
Enclosing class:
Connection

public static interface Connection.Builder extends SdkPojo, CopyableBuilder<Connection.Builder,Connection>
  • Method Details

    • connectionName

      Connection.Builder connectionName(String connectionName)

      The name of the connection. Connection names must be unique in an Amazon Web Services account.

      Parameters:
      connectionName - The name of the connection. Connection names must be unique in an Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionArn

      Connection.Builder connectionArn(String connectionArn)

      The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services.

      The ARN is never reused if the connection is deleted.

      Parameters:
      connectionArn - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services.

      The ARN is never reused if the connection is deleted.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerType

      Connection.Builder providerType(String providerType)

      The name of the external provider where your third-party code repository is configured.

      Parameters:
      providerType - The name of the external provider where your third-party code repository is configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerType

      Connection.Builder providerType(ProviderType providerType)

      The name of the external provider where your third-party code repository is configured.

      Parameters:
      providerType - The name of the external provider where your third-party code repository is configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ownerAccountId

      Connection.Builder ownerAccountId(String ownerAccountId)

      The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

      Parameters:
      ownerAccountId - The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionStatus

      Connection.Builder connectionStatus(String connectionStatus)

      The current status of the connection.

      Parameters:
      connectionStatus - The current status of the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • connectionStatus

      Connection.Builder connectionStatus(ConnectionStatus connectionStatus)

      The current status of the connection.

      Parameters:
      connectionStatus - The current status of the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hostArn

      Connection.Builder hostArn(String hostArn)

      The Amazon Resource Name (ARN) of the host associated with the connection.

      Parameters:
      hostArn - The Amazon Resource Name (ARN) of the host associated with the connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.