Class CfnWorkloadEstimateProps.Builder
java.lang.Object
software.amazon.awscdk.services.bcmpricingcalculator.CfnWorkloadEstimateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkloadEstimateProps>
- Enclosing interface:
CfnWorkloadEstimateProps
@Stability(Stable)
public static final class CfnWorkloadEstimateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkloadEstimateProps>
A builder for
CfnWorkloadEstimateProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkloadEstimateProps.getExpiresAt()Sets the value ofCfnWorkloadEstimateProps.getName()Sets the value ofCfnWorkloadEstimateProps.getRateType()Sets the value ofCfnWorkloadEstimateProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnWorkloadEstimateProps.getName()- Parameters:
name- The name of the workload estimate. This parameter is required.- Returns:
this
-
expiresAt
Sets the value ofCfnWorkloadEstimateProps.getExpiresAt()- Parameters:
expiresAt- The timestamp when the workload estimate will expire.- Returns:
this
-
rateType
Sets the value ofCfnWorkloadEstimateProps.getRateType()- Parameters:
rateType- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnWorkloadEstimateProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkloadEstimateProps>- Returns:
- a new instance of
CfnWorkloadEstimateProps - Throws:
NullPointerException- if any required attribute was not provided
-