Class CfnTenantMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.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- An array of objects that define the tags (keys and values) associated with the tenant.- Returns:
this
-
tenantName
Sets the value ofCfnTenantMixinProps.getTenantName()- Parameters:
tenantName- The name of a tenant. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.- 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
-