Class CfnAppInstanceUserProps.Builder
java.lang.Object
software.amazon.awscdk.services.chime.CfnAppInstanceUserProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppInstanceUserProps>
- Enclosing interface:
CfnAppInstanceUserProps
@Stability(Stable)
public static final class CfnAppInstanceUserProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppInstanceUserProps>
A builder for
CfnAppInstanceUserProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappInstanceArn(String appInstanceArn) Sets the value ofCfnAppInstanceUserProps.getAppInstanceArn()appInstanceUserId(String appInstanceUserId) Sets the value ofCfnAppInstanceUserProps.getAppInstanceUserId()build()Builds the configured instance.expirationSettings(IResolvable expirationSettings) Sets the value ofCfnAppInstanceUserProps.getExpirationSettings()expirationSettings(CfnAppInstanceUser.ExpirationSettingsProperty expirationSettings) Sets the value ofCfnAppInstanceUserProps.getExpirationSettings()Sets the value ofCfnAppInstanceUserProps.getMetadata()Sets the value ofCfnAppInstanceUserProps.getName()Sets the value ofCfnAppInstanceUserProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appInstanceArn
Sets the value ofCfnAppInstanceUserProps.getAppInstanceArn()- Parameters:
appInstanceArn- the value to be set. This parameter is required.- Returns:
this
-
appInstanceUserId
@Stability(Stable) public CfnAppInstanceUserProps.Builder appInstanceUserId(String appInstanceUserId) Sets the value ofCfnAppInstanceUserProps.getAppInstanceUserId()- Parameters:
appInstanceUserId- the value to be set. This parameter is required.- Returns:
this
-
expirationSettings
@Stability(Stable) public CfnAppInstanceUserProps.Builder expirationSettings(IResolvable expirationSettings) Sets the value ofCfnAppInstanceUserProps.getExpirationSettings()- Parameters:
expirationSettings- the value to be set.- Returns:
this
-
expirationSettings
@Stability(Stable) public CfnAppInstanceUserProps.Builder expirationSettings(CfnAppInstanceUser.ExpirationSettingsProperty expirationSettings) Sets the value ofCfnAppInstanceUserProps.getExpirationSettings()- Parameters:
expirationSettings- the value to be set.- Returns:
this
-
metadata
Sets the value ofCfnAppInstanceUserProps.getMetadata()- Parameters:
metadata- the value to be set.- Returns:
this
-
name
Sets the value ofCfnAppInstanceUserProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnAppInstanceUserProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppInstanceUserProps>- Returns:
- a new instance of
CfnAppInstanceUserProps - Throws:
NullPointerException- if any required attribute was not provided
-