Class CfnTenantMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnTenantMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTenantMixinProps>
- Enclosing interface:
CfnTenantMixinProps
@Stability(Stable)
public static final class CfnTenantMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTenantMixinProps>
A builder for
CfnTenantMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceAssociations(List<? extends Object> resourceAssociations) Sets the value ofCfnTenantMixinProps.getResourceAssociations()resourceAssociations(IResolvable resourceAssociations) Sets the value ofCfnTenantMixinProps.getResourceAssociations()Sets the value ofCfnTenantMixinProps.getTags()tenantName(String tenantName) Sets the value ofCfnTenantMixinProps.getTenantName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceAssociations
@Stability(Stable) public CfnTenantMixinProps.Builder resourceAssociations(IResolvable resourceAssociations) Sets the value ofCfnTenantMixinProps.getResourceAssociations()- Parameters:
resourceAssociations- The list of resources to associate with the tenant.- Returns:
this
-
resourceAssociations
@Stability(Stable) public CfnTenantMixinProps.Builder resourceAssociations(List<? extends Object> resourceAssociations) Sets the value ofCfnTenantMixinProps.getResourceAssociations()- Parameters:
resourceAssociations- The list of resources to associate with the tenant.- Returns:
this
-
tags
Sets the value ofCfnTenantMixinProps.getTags()- Parameters:
tags- The tags (keys and values) associated with the tenant.- Returns:
this
-
tenantName
Sets the value ofCfnTenantMixinProps.getTenantName()- Parameters:
tenantName- The name of the tenant.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTenantMixinProps>- Returns:
- a new instance of
CfnTenantMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-