Interface S3Content.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3Content.Builder,S3Content>,SdkBuilder<S3Content.Builder,S3Content>,SdkPojo
- Enclosing class:
- S3Content
@Mutable @NotThreadSafe public static interface S3Content.Builder extends SdkPojo, CopyableBuilder<S3Content.Builder,S3Content>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S3Content.Builders3Location(Consumer<S3Location.Builder> s3Location)The S3 location of the file containing the content to ingest.S3Content.Builders3Location(S3Location s3Location)The S3 location of the file containing the content to ingest.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
s3Location
S3Content.Builder s3Location(S3Location s3Location)
The S3 location of the file containing the content to ingest.
- Parameters:
s3Location- The S3 location of the file containing the content to ingest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default S3Content.Builder s3Location(Consumer<S3Location.Builder> s3Location)
The S3 location of the file containing the content to ingest.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(S3Location).- Parameters:
s3Location- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Location(S3Location)
-
-