public static interface Connection.Builder extends SdkPojo, CopyableBuilder<Connection.Builder,Connection>
Modifier and Type | Method and Description |
---|---|
Connection.Builder |
connectionArn(String connectionArn)
The Amazon Resource Name (ARN) of the connection.
|
Connection.Builder |
connectionName(String connectionName)
The name of the connection.
|
Connection.Builder |
connectionStatus(ConnectionStatus connectionStatus)
The current status of the connection.
|
Connection.Builder |
connectionStatus(String connectionStatus)
The current status of the connection.
|
Connection.Builder |
hostArn(String hostArn)
The Amazon Resource Name (ARN) of the host associated with the connection.
|
Connection.Builder |
ownerAccountId(String ownerAccountId)
The identifier of the external provider where your third-party code repository is configured.
|
Connection.Builder |
providerType(ProviderType providerType)
The name of the external provider where your third-party code repository is configured.
|
Connection.Builder |
providerType(String providerType)
The name of the external provider where your third-party code repository is configured.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Connection.Builder connectionName(String connectionName)
The name of the connection. Connection names must be unique in an AWS user account.
connectionName
- The name of the connection. Connection names must be unique in an AWS user account.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 AWS services.
The ARN is never reused if the connection is deleted.
connectionArn
- The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the
connection is shared between AWS services. The ARN is never reused if the connection is deleted.
Connection.Builder providerType(String providerType)
The name of the external provider where your third-party code repository is configured.
providerType
- The name of the external provider where your third-party code repository is configured.ProviderType
,
ProviderType
Connection.Builder providerType(ProviderType providerType)
The name of the external provider where your third-party code repository is configured.
providerType
- The name of the external provider where your third-party code repository is configured.ProviderType
,
ProviderType
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.
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.Connection.Builder connectionStatus(String connectionStatus)
The current status of the connection.
connectionStatus
- The current status of the connection.ConnectionStatus
,
ConnectionStatus
Connection.Builder connectionStatus(ConnectionStatus connectionStatus)
The current status of the connection.
connectionStatus
- The current status of the connection.ConnectionStatus
,
ConnectionStatus
Connection.Builder hostArn(String hostArn)
The Amazon Resource Name (ARN) of the host associated with the connection.
hostArn
- The Amazon Resource Name (ARN) of the host associated with the connection.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.