Interface ModelInvocationJobInputDataConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModelInvocationJobInputDataConfig.Builder,
,ModelInvocationJobInputDataConfig> SdkBuilder<ModelInvocationJobInputDataConfig.Builder,
,ModelInvocationJobInputDataConfig> SdkPojo
- Enclosing class:
ModelInvocationJobInputDataConfig
@Mutable
@NotThreadSafe
public static interface ModelInvocationJobInputDataConfig.Builder
extends SdkPojo, CopyableBuilder<ModelInvocationJobInputDataConfig.Builder,ModelInvocationJobInputDataConfig>
-
Method Summary
Modifier and TypeMethodDescriptions3InputDataConfig
(Consumer<ModelInvocationJobS3InputDataConfig.Builder> s3InputDataConfig) Contains the configuration of the S3 location of the input data.s3InputDataConfig
(ModelInvocationJobS3InputDataConfig s3InputDataConfig) Contains the configuration of the S3 location of the input data.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
-
s3InputDataConfig
ModelInvocationJobInputDataConfig.Builder s3InputDataConfig(ModelInvocationJobS3InputDataConfig s3InputDataConfig) Contains the configuration of the S3 location of the input data.
- Parameters:
s3InputDataConfig
- Contains the configuration of the S3 location of the input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3InputDataConfig
default ModelInvocationJobInputDataConfig.Builder s3InputDataConfig(Consumer<ModelInvocationJobS3InputDataConfig.Builder> s3InputDataConfig) Contains the configuration of the S3 location of the input data.
This is a convenience method that creates an instance of theModelInvocationJobS3InputDataConfig.Builder
avoiding the need to create one manually viaModelInvocationJobS3InputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3InputDataConfig(ModelInvocationJobS3InputDataConfig)
.- Parameters:
s3InputDataConfig
- a consumer that will call methods onModelInvocationJobS3InputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-