Interface RegistryRecordSynchronizedSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegistryRecordSynchronizedSource.Builder,,RegistryRecordSynchronizedSource> SdkBuilder<RegistryRecordSynchronizedSource.Builder,,RegistryRecordSynchronizedSource> SdkPojo
- Enclosing class:
RegistryRecordSynchronizedSource
@Mutable
@NotThreadSafe
public static interface RegistryRecordSynchronizedSource.Builder
extends SdkPojo, CopyableBuilder<RegistryRecordSynchronizedSource.Builder,RegistryRecordSynchronizedSource>
-
Method Summary
Modifier and TypeMethodDescriptionThe GitHub source that the registry read.gitHub(GitHubSynchronizedSource gitHub) The GitHub source that the registry read.The Amazon S3 source that the registry read.The Amazon S3 source that the registry read.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 Amazon S3 source that the registry read.
- Parameters:
s3- The Amazon S3 source that the registry read.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The Amazon S3 source that the registry read.
This is a convenience method that creates an instance of theS3SynchronizedSource.Builderavoiding the need to create one manually viaS3SynchronizedSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3SynchronizedSource).- Parameters:
s3- a consumer that will call methods onS3SynchronizedSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitHub
The GitHub source that the registry read.
- Parameters:
gitHub- The GitHub source that the registry read.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitHub
default RegistryRecordSynchronizedSource.Builder gitHub(Consumer<GitHubSynchronizedSource.Builder> gitHub) The GitHub source that the registry read.
This is a convenience method that creates an instance of theGitHubSynchronizedSource.Builderavoiding the need to create one manually viaGitHubSynchronizedSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHub(GitHubSynchronizedSource).- Parameters:
gitHub- a consumer that will call methods onGitHubSynchronizedSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-