Interface ExternalSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExternalSource.Builder,
,ExternalSource> SdkBuilder<ExternalSource.Builder,
,ExternalSource> SdkPojo
- Enclosing class:
ExternalSource
@Mutable
@NotThreadSafe
public static interface ExternalSource.Builder
extends SdkPojo, CopyableBuilder<ExternalSource.Builder,ExternalSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExternalSource.Builder
byteContent
(Consumer<ByteContentDoc.Builder> byteContent) The identifier, content type, and data of the external source wrapper object.byteContent
(ByteContentDoc byteContent) The identifier, content type, and data of the external source wrapper object.default ExternalSource.Builder
s3Location
(Consumer<S3ObjectDoc.Builder> s3Location) The S3 location of the external source wrapper object.s3Location
(S3ObjectDoc s3Location) The S3 location of the external source wrapper object.sourceType
(String sourceType) The source type of the external source wrapper object.sourceType
(ExternalSourceType sourceType) The source type of the external source wrapper object.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 Details
-
sourceType
The source type of the external source wrapper object.
- Parameters:
sourceType
- The source type of the external source wrapper object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The source type of the external source wrapper object.
- Parameters:
sourceType
- The source type of the external source wrapper object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Location
The S3 location of the external source wrapper object.
- Parameters:
s3Location
- The S3 location of the external source wrapper object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
The S3 location of the external source wrapper object.
This is a convenience method that creates an instance of theS3ObjectDoc.Builder
avoiding the need to create one manually viaS3ObjectDoc.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Location(S3ObjectDoc)
.- Parameters:
s3Location
- a consumer that will call methods onS3ObjectDoc.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
byteContent
The identifier, content type, and data of the external source wrapper object.
- Parameters:
byteContent
- The identifier, content type, and data of the external source wrapper object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byteContent
The identifier, content type, and data of the external source wrapper object.
This is a convenience method that creates an instance of theByteContentDoc.Builder
avoiding the need to create one manually viaByteContentDoc.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobyteContent(ByteContentDoc)
.- Parameters:
byteContent
- a consumer that will call methods onByteContentDoc.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-