Interface Connection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Connection.Builder,
,Connection> SdkBuilder<Connection.Builder,
,Connection> SdkPojo
- Enclosing class:
Connection
-
Method Summary
Modifier and TypeMethodDescriptionconnectionArn
(String connectionArn) The Amazon Resource Name (ARN) of the connection.connectionName
(String connectionName) The name of the connection.connectionStatus
(String connectionStatus) The current status of the connection.connectionStatus
(ConnectionStatus connectionStatus) The current status of the connection.The Amazon Resource Name (ARN) of the host associated with the connection.ownerAccountId
(String ownerAccountId) The identifier of the external provider where your third-party code repository is configured.providerType
(String providerType) The name of the external provider where your third-party code repository is configured.providerType
(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, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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.
-