Class CfnWorkloadMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wellarchitected.CfnWorkloadMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkloadMixinProps>
- Enclosing interface:
CfnWorkloadMixinProps
@Stability(Stable)
public static final class CfnWorkloadMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkloadMixinProps>
A builder for
CfnWorkloadMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountIds(List<String> accountIds) Sets the value ofCfnWorkloadMixinProps.getAccountIds()architecturalDesign(String architecturalDesign) Sets the value ofCfnWorkloadMixinProps.getArchitecturalDesign()awsRegions(List<String> awsRegions) Sets the value ofCfnWorkloadMixinProps.getAwsRegions()build()Builds the configured instance.description(String description) Sets the value ofCfnWorkloadMixinProps.getDescription()discoveryConfig(CfnWorkloadPropsMixin.DiscoveryConfigProperty discoveryConfig) Sets the value ofCfnWorkloadMixinProps.getDiscoveryConfig()discoveryConfig(IResolvable discoveryConfig) Sets the value ofCfnWorkloadMixinProps.getDiscoveryConfig()environment(String environment) Sets the value ofCfnWorkloadMixinProps.getEnvironment()Sets the value ofCfnWorkloadMixinProps.getIndustry()industryType(String industryType) Sets the value ofCfnWorkloadMixinProps.getIndustryType()Sets the value ofCfnWorkloadMixinProps.getLenses()nonAwsRegions(List<String> nonAwsRegions) Sets the value ofCfnWorkloadMixinProps.getNonAwsRegions()Sets the value ofCfnWorkloadMixinProps.getNotes()reviewOwner(String reviewOwner) Sets the value ofCfnWorkloadMixinProps.getReviewOwner()tags(List<? extends CfnWorkloadPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnWorkloadMixinProps.getTags()workloadName(String workloadName) Sets the value ofCfnWorkloadMixinProps.getWorkloadName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountIds
Sets the value ofCfnWorkloadMixinProps.getAccountIds()- Parameters:
accountIds- The list of Amazon Web Services account IDs associated with the workload.- Returns:
this
-
architecturalDesign
@Stability(Stable) public CfnWorkloadMixinProps.Builder architecturalDesign(String architecturalDesign) Sets the value ofCfnWorkloadMixinProps.getArchitecturalDesign()- Parameters:
architecturalDesign- The URL of the architectural design for the workload.- Returns:
this
-
awsRegions
Sets the value ofCfnWorkloadMixinProps.getAwsRegions()- Parameters:
awsRegions- The list of Amazon Web Services Regions associated with the workload.- Returns:
this
-
description
Sets the value ofCfnWorkloadMixinProps.getDescription()- Parameters:
description- The description for the workload.- Returns:
this
-
discoveryConfig
@Stability(Stable) public CfnWorkloadMixinProps.Builder discoveryConfig(IResolvable discoveryConfig) Sets the value ofCfnWorkloadMixinProps.getDiscoveryConfig()- Parameters:
discoveryConfig- Discovery configuration associated to the workload.- Returns:
this
-
discoveryConfig
@Stability(Stable) public CfnWorkloadMixinProps.Builder discoveryConfig(CfnWorkloadPropsMixin.DiscoveryConfigProperty discoveryConfig) Sets the value ofCfnWorkloadMixinProps.getDiscoveryConfig()- Parameters:
discoveryConfig- Discovery configuration associated to the workload.- Returns:
this
-
environment
Sets the value ofCfnWorkloadMixinProps.getEnvironment()- Parameters:
environment- The environment for the workload.- Returns:
this
-
industry
Sets the value ofCfnWorkloadMixinProps.getIndustry()- Parameters:
industry- The industry for the workload.- Returns:
this
-
industryType
Sets the value ofCfnWorkloadMixinProps.getIndustryType()- Parameters:
industryType- The industry type for the workload.- Returns:
this
-
lenses
Sets the value ofCfnWorkloadMixinProps.getLenses()- Parameters:
lenses- The list of lenses associated with the workload.- Returns:
this
-
nonAwsRegions
Sets the value ofCfnWorkloadMixinProps.getNonAwsRegions()- Parameters:
nonAwsRegions- The list of non-Amazon Web Services Regions associated with the workload.- Returns:
this
-
notes
Sets the value ofCfnWorkloadMixinProps.getNotes()- Parameters:
notes- The notes associated with the workload.- Returns:
this
-
reviewOwner
Sets the value ofCfnWorkloadMixinProps.getReviewOwner()- Parameters:
reviewOwner- The review owner of the workload.- Returns:
this
-
tags
@Stability(Stable) public CfnWorkloadMixinProps.Builder tags(List<? extends CfnWorkloadPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnWorkloadMixinProps.getTags()- Parameters:
tags- The tags associated with the workload.- Returns:
this
-
workloadName
Sets the value ofCfnWorkloadMixinProps.getWorkloadName()- Parameters:
workloadName- The name of the workload.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkloadMixinProps>- Returns:
- a new instance of
CfnWorkloadMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-