Class TenantReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ses.TenantReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TenantReference>
- Enclosing interface:
TenantReference
@Stability(Stable)
public static final class TenantReference.Builder
extends Object
implements software.amazon.jsii.Builder<TenantReference>
A builder for
TenantReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofTenantReference.getTenantArn()tenantName(String tenantName) Sets the value ofTenantReference.getTenantName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tenantArn
Sets the value ofTenantReference.getTenantArn()- Parameters:
tenantArn- The ARN of the Tenant resource. This parameter is required.- Returns:
this
-
tenantName
Sets the value ofTenantReference.getTenantName()- Parameters:
tenantName- The TenantName of the Tenant resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TenantReference>- Returns:
- a new instance of
TenantReference - Throws:
NullPointerException- if any required attribute was not provided
-