Interface ExternalSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExternalSource.Builder,ExternalSource>,SdkBuilder<ExternalSource.Builder,ExternalSource>,SdkPojo
- Enclosing class:
- ExternalSource
public static interface ExternalSource.Builder extends SdkPojo, CopyableBuilder<ExternalSource.Builder,ExternalSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExternalSource.BuilderbyteContent(Consumer<ByteContentDoc.Builder> byteContent)The identifier, contentType, and data of the external source wrapper object.ExternalSource.BuilderbyteContent(ByteContentDoc byteContent)The identifier, contentType, and data of the external source wrapper object.default ExternalSource.Builders3Location(Consumer<S3ObjectDoc.Builder> s3Location)The S3 location of the external source wrapper object.ExternalSource.Builders3Location(S3ObjectDoc s3Location)The S3 location of the external source wrapper object.ExternalSource.BuildersourceType(String sourceType)The source type of the external source wrapper object.ExternalSource.BuildersourceType(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, sdkFields
-
-
-
-
Method Detail
-
byteContent
ExternalSource.Builder byteContent(ByteContentDoc byteContent)
The identifier, contentType, and data of the external source wrapper object.
- Parameters:
byteContent- The identifier, contentType, and data of the external source wrapper object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byteContent
default ExternalSource.Builder byteContent(Consumer<ByteContentDoc.Builder> byteContent)
The identifier, contentType, and data of the external source wrapper object.
This is a convenience method that creates an instance of theByteContentDoc.Builderavoiding the need to create one manually viaByteContentDoc.builder().When the
Consumercompletes,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:
byteContent(ByteContentDoc)
-
s3Location
ExternalSource.Builder s3Location(S3ObjectDoc 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
default ExternalSource.Builder s3Location(Consumer<S3ObjectDoc.Builder> s3Location)
The S3 location of the external source wrapper object.
This is a convenience method that creates an instance of theS3ObjectDoc.Builderavoiding the need to create one manually viaS3ObjectDoc.builder().When the
Consumercompletes,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:
s3Location(S3ObjectDoc)
-
sourceType
ExternalSource.Builder sourceType(String 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:
ExternalSourceType,ExternalSourceType
-
sourceType
ExternalSource.Builder sourceType(ExternalSourceType 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:
ExternalSourceType,ExternalSourceType
-
-