Interface DestinationTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DestinationTarget.Builder,,DestinationTarget> SdkBuilder<DestinationTarget.Builder,,DestinationTarget> SdkPojo
- Enclosing class:
DestinationTarget
@Mutable
@NotThreadSafe
public static interface DestinationTarget.Builder
extends SdkPojo, CopyableBuilder<DestinationTarget.Builder,DestinationTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DestinationTarget.Buildergithub(Consumer<GitHubTarget.Builder> github) The GitHub repository the patch is delivered to, including the pull request once it is opened.github(GitHubTarget github) The GitHub repository the patch is delivered to, including the pull request once it is opened.default DestinationTarget.Builders3(Consumer<S3Target.Builder> s3) The S3 object the patch is delivered to.The S3 object the patch is delivered to.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
The S3 object the patch is delivered to.
- Parameters:
s3- The S3 object the patch is delivered to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The S3 object the patch is delivered to.
This is a convenience method that creates an instance of theS3Target.Builderavoiding the need to create one manually viaS3Target.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Target).- Parameters:
s3- a consumer that will call methods onS3Target.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
github
The GitHub repository the patch is delivered to, including the pull request once it is opened.
- Parameters:
github- The GitHub repository the patch is delivered to, including the pull request once it is opened.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
github
The GitHub repository the patch is delivered to, including the pull request once it is opened.
This is a convenience method that creates an instance of theGitHubTarget.Builderavoiding the need to create one manually viaGitHubTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togithub(GitHubTarget).- Parameters:
github- a consumer that will call methods onGitHubTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-