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