Interface Definition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Definition.Builder,
,Definition> SdkBuilder<Definition.Builder,
,Definition> SdkPojo
- Enclosing class:
Definition
public static interface Definition.Builder
extends SdkPojo, CopyableBuilder<Definition.Builder,Definition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Definition.Builder
checksum
(Consumer<Checksum.Builder> checksum) The checksum information of the model.The checksum information of the model.modelHandle
(String modelHandle) The unique model handle.The absolute S3 location of the model.The desired state of the model.state
(ModelState state) The desired state of the model.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
-
modelHandle
The unique model handle.
- Parameters:
modelHandle
- The unique model handle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Url
The absolute S3 location of the model.
- Parameters:
s3Url
- The absolute S3 location of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
The checksum information of the model.
- Parameters:
checksum
- The checksum information of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
The checksum information of the model.
This is a convenience method that creates an instance of theChecksum.Builder
avoiding the need to create one manually viaChecksum.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochecksum(Checksum)
.- Parameters:
checksum
- a consumer that will call methods onChecksum.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The desired state of the model.
- Parameters:
state
- The desired state of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The desired state of the model.
- Parameters:
state
- The desired state of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-