Interface ConnectionProviderKey.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectionProviderKey.Builder,,ConnectionProviderKey> SdkBuilder<ConnectionProviderKey.Builder,,ConnectionProviderKey> SdkPojo
- Enclosing class:
ConnectionProviderKey
@Mutable
@NotThreadSafe
public static interface ConnectionProviderKey.Builder
extends SdkPojo, CopyableBuilder<ConnectionProviderKey.Builder,ConnectionProviderKey>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConnectionProviderKey.Buildergithub(Consumer<GitHubConnectionKey.Builder> github) The account of a GitHub connection.github(GitHubConnectionKey github) The account of a GitHub connection.default ConnectionProviderKey.BuilderAn Amazon S3 connection, identified by its source URI.s3(S3ConnectionKey s3) An Amazon S3 connection, identified by its source URI.default ConnectionProviderKey.Buildersharepoint(Consumer<SharePointConnectionKey.Builder> sharepoint) The tenant of a SharePoint connection.sharepoint(SharePointConnectionKey sharepoint) The tenant of a SharePoint connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
s3
An Amazon S3 connection, identified by its source URI.
- Parameters:
s3- An Amazon S3 connection, identified by its source URI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
An Amazon S3 connection, identified by its source URI.
This is a convenience method that creates an instance of theS3ConnectionKey.Builderavoiding the need to create one manually viaS3ConnectionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3ConnectionKey).- Parameters:
s3- a consumer that will call methods onS3ConnectionKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
github
The account of a GitHub connection.
- Parameters:
github- The account of a GitHub connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
github
The account of a GitHub connection.
This is a convenience method that creates an instance of theGitHubConnectionKey.Builderavoiding the need to create one manually viaGitHubConnectionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togithub(GitHubConnectionKey).- Parameters:
github- a consumer that will call methods onGitHubConnectionKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-