Interface ModelPackageGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ModelPackageGroup.Builder,ModelPackageGroup>,SdkBuilder<ModelPackageGroup.Builder,ModelPackageGroup>,SdkPojo
- Enclosing class:
- ModelPackageGroup
public static interface ModelPackageGroup.Builder extends SdkPojo, CopyableBuilder<ModelPackageGroup.Builder,ModelPackageGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModelPackageGroup.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Sets the value of the CreatedBy property for this object.ModelPackageGroup.BuildercreatedBy(UserContext createdBy)Sets the value of the CreatedBy property for this object.ModelPackageGroup.BuildercreationTime(Instant creationTime)The time that the model group was created.ModelPackageGroup.BuildermodelPackageGroupArn(String modelPackageGroupArn)The Amazon Resource Name (ARN) of the model group.ModelPackageGroup.BuildermodelPackageGroupDescription(String modelPackageGroupDescription)The description for the model group.ModelPackageGroup.BuildermodelPackageGroupName(String modelPackageGroupName)The name of the model group.ModelPackageGroup.BuildermodelPackageGroupStatus(String modelPackageGroupStatus)The status of the model group.ModelPackageGroup.BuildermodelPackageGroupStatus(ModelPackageGroupStatus modelPackageGroupStatus)The status of the model group.ModelPackageGroup.Buildertags(Collection<Tag> tags)A list of the tags associated with the model group.ModelPackageGroup.Buildertags(Consumer<Tag.Builder>... tags)A list of the tags associated with the model group.ModelPackageGroup.Buildertags(Tag... tags)A list of the tags associated with the model group.-
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
-
modelPackageGroupName
ModelPackageGroup.Builder modelPackageGroupName(String modelPackageGroupName)
The name of the model group.
- Parameters:
modelPackageGroupName- The name of the model group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageGroupArn
ModelPackageGroup.Builder modelPackageGroupArn(String modelPackageGroupArn)
The Amazon Resource Name (ARN) of the model group.
- Parameters:
modelPackageGroupArn- The Amazon Resource Name (ARN) of the model group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageGroupDescription
ModelPackageGroup.Builder modelPackageGroupDescription(String modelPackageGroupDescription)
The description for the model group.
- Parameters:
modelPackageGroupDescription- The description for the model group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
ModelPackageGroup.Builder creationTime(Instant creationTime)
The time that the model group was created.
- Parameters:
creationTime- The time that the model group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
ModelPackageGroup.Builder createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default ModelPackageGroup.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedBy(UserContext).- Parameters:
createdBy- a consumer that will call methods onUserContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createdBy(UserContext)
-
modelPackageGroupStatus
ModelPackageGroup.Builder modelPackageGroupStatus(String modelPackageGroupStatus)
The status of the model group. This can be one of the following values.
-
PENDING- The model group is pending being created. -
IN_PROGRESS- The model group is in the process of being created. -
COMPLETED- The model group was successfully created. -
FAILED- The model group failed. -
DELETING- The model group is in the process of being deleted. -
DELETE_FAILED- SageMaker failed to delete the model group.
- Parameters:
modelPackageGroupStatus- The status of the model group. This can be one of the following values.-
PENDING- The model group is pending being created. -
IN_PROGRESS- The model group is in the process of being created. -
COMPLETED- The model group was successfully created. -
FAILED- The model group failed. -
DELETING- The model group is in the process of being deleted. -
DELETE_FAILED- SageMaker failed to delete the model group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelPackageGroupStatus,ModelPackageGroupStatus
-
-
modelPackageGroupStatus
ModelPackageGroup.Builder modelPackageGroupStatus(ModelPackageGroupStatus modelPackageGroupStatus)
The status of the model group. This can be one of the following values.
-
PENDING- The model group is pending being created. -
IN_PROGRESS- The model group is in the process of being created. -
COMPLETED- The model group was successfully created. -
FAILED- The model group failed. -
DELETING- The model group is in the process of being deleted. -
DELETE_FAILED- SageMaker failed to delete the model group.
- Parameters:
modelPackageGroupStatus- The status of the model group. This can be one of the following values.-
PENDING- The model group is pending being created. -
IN_PROGRESS- The model group is in the process of being created. -
COMPLETED- The model group was successfully created. -
FAILED- The model group failed. -
DELETING- The model group is in the process of being deleted. -
DELETE_FAILED- SageMaker failed to delete the model group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelPackageGroupStatus,ModelPackageGroupStatus
-
-
tags
ModelPackageGroup.Builder tags(Collection<Tag> tags)
A list of the tags associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
- Parameters:
tags- A list of the tags associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ModelPackageGroup.Builder tags(Tag... tags)
A list of the tags associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
- Parameters:
tags- A list of the tags associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ModelPackageGroup.Builder tags(Consumer<Tag.Builder>... tags)
A list of the tags associated with the model group. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-