Interface AIModelSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AIModelSource.Builder,,AIModelSource> SdkBuilder<AIModelSource.Builder,,AIModelSource> SdkPojo
- Enclosing class:
AIModelSource
@Mutable
@NotThreadSafe
public static interface AIModelSource.Builder
extends SdkPojo, CopyableBuilder<AIModelSource.Builder,AIModelSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AIModelSource.BuilderThe Amazon S3 location of the model artifacts.s3(AIModelSourceS3 s3) The Amazon S3 location of the model artifacts.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
s3
The Amazon S3 location of the model artifacts.
- Parameters:
s3- The Amazon S3 location of the model artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The Amazon S3 location of the model artifacts.
This is a convenience method that creates an instance of theAIModelSourceS3.Builderavoiding the need to create one manually viaAIModelSourceS3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(AIModelSourceS3).- Parameters:
s3- a consumer that will call methods onAIModelSourceS3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-