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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connection.BuilderconnectionArn(String connectionArn)The Amazon Resource Name (ARN) of the connection.Connection.BuilderconnectionName(String connectionName)The name of the connection.Connection.BuilderconnectionStatus(String connectionStatus)The current status of the connection.Connection.BuilderconnectionStatus(ConnectionStatus connectionStatus)The current status of the connection.Connection.BuilderhostArn(String hostArn)The Amazon Resource Name (ARN) of the host associated with the connection.Connection.BuilderownerAccountId(String ownerAccountId)The identifier of the external provider where your third-party code repository is configured.Connection.BuilderproviderType(String providerType)The name of the external provider where your third-party code repository is configured.Connection.BuilderproviderType(ProviderType providerType)The name of the external provider where your third-party code repository is configured.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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,ProviderType
-
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:
ProviderType,ProviderType
-
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,ConnectionStatus
-
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:
ConnectionStatus,ConnectionStatus
-
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.
-
-