Interface SampleDocuments.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SampleDocuments.Builder,,SampleDocuments> SdkBuilder<SampleDocuments.Builder,,SampleDocuments> SdkPojo
- Enclosing class:
SampleDocuments
public static interface SampleDocuments.Builder
extends SdkPojo, CopyableBuilder<SampleDocuments.Builder,SampleDocuments>
-
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Contains the Amazon S3 bucket that is used to hold your sample documents.keys(Collection<SampleDocumentKeys> keys) Contains an array of the Amazon S3 keys used to identify the location for your sample documents.keys(Consumer<SampleDocumentKeys.Builder>... keys) Contains an array of the Amazon S3 keys used to identify the location for your sample documents.keys(SampleDocumentKeys... keys) Contains an array of the Amazon S3 keys used to identify the location for your sample documents.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, sdkFields
-
Method Details
-
bucketName
Contains the Amazon S3 bucket that is used to hold your sample documents.
- Parameters:
bucketName- Contains the Amazon S3 bucket that is used to hold your sample documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
Contains an array of the Amazon S3 keys used to identify the location for your sample documents.
- Parameters:
keys- Contains an array of the Amazon S3 keys used to identify the location for your sample documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
Contains an array of the Amazon S3 keys used to identify the location for your sample documents.
- Parameters:
keys- Contains an array of the Amazon S3 keys used to identify the location for your sample documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
Contains an array of the Amazon S3 keys used to identify the location for your sample documents.
This is a convenience method that creates an instance of theSampleDocumentKeys.Builderavoiding the need to create one manually viaSampleDocumentKeys.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeys(List<SampleDocumentKeys>).- Parameters:
keys- a consumer that will call methods onSampleDocumentKeys.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-