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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SampleDocuments.BuilderbucketName(String bucketName)Contains the Amazon S3 bucket that is used to hold your sample documents.SampleDocuments.Builderkeys(Collection<SampleDocumentKeys> keys)Contains an array of the Amazon S3 keys used to identify the location for your sample documents.SampleDocuments.Builderkeys(Consumer<SampleDocumentKeys.Builder>... keys)Contains an array of the Amazon S3 keys used to identify the location for your sample documents.SampleDocuments.Builderkeys(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
bucketName
SampleDocuments.Builder bucketName(String 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
SampleDocuments.Builder keys(Collection<SampleDocumentKeys> 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
SampleDocuments.Builder keys(SampleDocumentKeys... 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
SampleDocuments.Builder keys(Consumer<SampleDocumentKeys.Builder>... 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 to#keys(List.) - 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:
#keys(java.util.Collection)
-
-