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