Class CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecommenderPropsMixin.RecommenderUpdateProperty>
- Enclosing interface:
CfnRecommenderPropsMixin.RecommenderUpdateProperty
@Stability(Stable)
public static final class CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecommenderPropsMixin.RecommenderUpdateProperty>
A builder for
CfnRecommenderPropsMixin.RecommenderUpdateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.creationDateTime(String creationDateTime) Sets the value ofCfnRecommenderPropsMixin.RecommenderUpdateProperty.getCreationDateTime()failureReason(String failureReason) Sets the value ofCfnRecommenderPropsMixin.RecommenderUpdateProperty.getFailureReason()lastUpdatedDateTime(String lastUpdatedDateTime) recommenderConfig(CfnRecommenderPropsMixin.RecommenderConfigProperty recommenderConfig) recommenderConfig(IResolvable recommenderConfig) Sets the value ofCfnRecommenderPropsMixin.RecommenderUpdateProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationDateTime
@Stability(Stable) public CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder creationDateTime(String creationDateTime) Sets the value ofCfnRecommenderPropsMixin.RecommenderUpdateProperty.getCreationDateTime()- Parameters:
creationDateTime- The timestamp of when the update was created.- Returns:
this
-
failureReason
@Stability(Stable) public CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder failureReason(String failureReason) Sets the value ofCfnRecommenderPropsMixin.RecommenderUpdateProperty.getFailureReason()- Parameters:
failureReason- The reason for update failure.- Returns:
this
-
lastUpdatedDateTime
@Stability(Stable) public CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder lastUpdatedDateTime(String lastUpdatedDateTime) - Parameters:
lastUpdatedDateTime- The timestamp of when the update was last modified.- Returns:
this
-
recommenderConfig
@Stability(Stable) public CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder recommenderConfig(IResolvable recommenderConfig) - Parameters:
recommenderConfig- Configuration for the recommender.- Returns:
this
-
recommenderConfig
@Stability(Stable) public CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder recommenderConfig(CfnRecommenderPropsMixin.RecommenderConfigProperty recommenderConfig) - Parameters:
recommenderConfig- Configuration for the recommender.- Returns:
this
-
status
@Stability(Stable) public CfnRecommenderPropsMixin.RecommenderUpdateProperty.Builder status(String status) Sets the value ofCfnRecommenderPropsMixin.RecommenderUpdateProperty.getStatus()- Parameters:
status- The status of the recommender.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRecommenderPropsMixin.RecommenderUpdateProperty>- Returns:
- a new instance of
CfnRecommenderPropsMixin.RecommenderUpdateProperty - Throws:
NullPointerException- if any required attribute was not provided
-