Interface SampleDocuments.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SampleDocuments.Builder,,- SampleDocuments> - SdkBuilder<SampleDocuments.Builder,,- SampleDocuments> - SdkPojo
- Enclosing class:
- SampleDocuments
@Mutable
@NotThreadSafe
public static interface SampleDocuments.Builder
extends SdkPojo, CopyableBuilder<SampleDocuments.Builder,SampleDocuments> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
bucketNameContains 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.
 
- 
keysContains 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.
 
- 
keysContains 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.
 
- 
keysContains 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 on- SampleDocumentKeys.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-