Interface AdditionalModelDataSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AdditionalModelDataSource.Builder,
,AdditionalModelDataSource> SdkBuilder<AdditionalModelDataSource.Builder,
,AdditionalModelDataSource> SdkPojo
- Enclosing class:
AdditionalModelDataSource
public static interface AdditionalModelDataSource.Builder
extends SdkPojo, CopyableBuilder<AdditionalModelDataSource.Builder,AdditionalModelDataSource>
-
Method Summary
Modifier and TypeMethodDescriptionchannelName
(String channelName) A custom name for thisAdditionalModelDataSource
object.s3DataSource
(Consumer<S3ModelDataSource.Builder> s3DataSource) Sets the value of the S3DataSource property for this object.s3DataSource
(S3ModelDataSource s3DataSource) Sets the value of the S3DataSource property for this 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 Details
-
channelName
A custom name for this
AdditionalModelDataSource
object.- Parameters:
channelName
- A custom name for thisAdditionalModelDataSource
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DataSource
Sets the value of the S3DataSource property for this object.- Parameters:
s3DataSource
- The new value for the S3DataSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DataSource
default AdditionalModelDataSource.Builder s3DataSource(Consumer<S3ModelDataSource.Builder> s3DataSource) Sets the value of the S3DataSource property for this object. This is a convenience method that creates an instance of theS3ModelDataSource.Builder
avoiding the need to create one manually viaS3ModelDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3DataSource(S3ModelDataSource)
.- Parameters:
s3DataSource
- a consumer that will call methods onS3ModelDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-