Interface DocumentLocation.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentLocation.Builder,DocumentLocation>
,SdkBuilder<DocumentLocation.Builder,DocumentLocation>
,SdkPojo
- Enclosing class:
- DocumentLocation
public static interface DocumentLocation.Builder extends SdkPojo, CopyableBuilder<DocumentLocation.Builder,DocumentLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DocumentLocation.Builder
s3Object(Consumer<S3Object.Builder> s3Object)
The Amazon S3 bucket that contains the input document.DocumentLocation.Builder
s3Object(S3Object s3Object)
The Amazon S3 bucket that contains the input document.-
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
-
s3Object
DocumentLocation.Builder s3Object(S3Object s3Object)
The Amazon S3 bucket that contains the input document.
- Parameters:
s3Object
- The Amazon S3 bucket that contains the input document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Object
default DocumentLocation.Builder s3Object(Consumer<S3Object.Builder> s3Object)
The Amazon S3 bucket that contains the input document.
This is a convenience method that creates an instance of theS3Object.Builder
avoiding the need to create one manually viaS3Object.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Object(S3Object)
.- Parameters:
s3Object
- a consumer that will call methods onS3Object.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Object(S3Object)
-
-