Class CfnProject.ServiceCatalogProvisionedProductDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnProject.ServiceCatalogProvisionedProductDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProject.ServiceCatalogProvisionedProductDetailsProperty>
- Enclosing interface:
CfnProject.ServiceCatalogProvisionedProductDetailsProperty
@Stability(Stable)
public static final class CfnProject.ServiceCatalogProvisionedProductDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProject.ServiceCatalogProvisionedProductDetailsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.provisionedProductId
(String provisionedProductId) provisionedProductStatusMessage
(String provisionedProductStatusMessage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
provisionedProductId
@Stability(Stable) public CfnProject.ServiceCatalogProvisionedProductDetailsProperty.Builder provisionedProductId(String provisionedProductId) Sets the value ofCfnProject.ServiceCatalogProvisionedProductDetailsProperty.getProvisionedProductId()
- Parameters:
provisionedProductId
- The ID of the provisioned product.- Returns:
this
-
provisionedProductStatusMessage
@Stability(Stable) public CfnProject.ServiceCatalogProvisionedProductDetailsProperty.Builder provisionedProductStatusMessage(String provisionedProductStatusMessage) Sets the value ofCfnProject.ServiceCatalogProvisionedProductDetailsProperty.getProvisionedProductStatusMessage()
- Parameters:
provisionedProductStatusMessage
- The current status of the product.AVAILABLE
- Stable state, ready to perform any operation. The most recent operation succeeded and completed.UNDER_CHANGE
- Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.TAINTED
- Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.ERROR
- An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.PLAN_IN_PROGRESS
- Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProject.ServiceCatalogProvisionedProductDetailsProperty>
- Returns:
- a new instance of
CfnProject.ServiceCatalogProvisionedProductDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-