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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Definition.Builderchecksum(Consumer<Checksum.Builder> checksum)The checksum information of the model.Definition.Builderchecksum(Checksum checksum)The checksum information of the model.Definition.BuildermodelHandle(String modelHandle)The unique model handle.Definition.Builders3Url(String s3Url)The absolute S3 location of the model.Definition.Builderstate(String state)The desired state of the model.Definition.Builderstate(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 Detail
-
modelHandle
Definition.Builder modelHandle(String 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
Definition.Builder s3Url(String 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
Definition.Builder checksum(Checksum 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
default Definition.Builder checksum(Consumer<Checksum.Builder> checksum)
The checksum information of the model.
This is a convenience method that creates an instance of theChecksum.Builderavoiding the need to create one manually viaChecksum.builder().When the
Consumercompletes,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:
checksum(Checksum)
-
state
Definition.Builder state(String 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:
ModelState,ModelState
-
state
Definition.Builder state(ModelState 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:
ModelState,ModelState
-
-