Class CfnRoleAliasMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnRoleAliasMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoleAliasMixinProps>
- Enclosing interface:
CfnRoleAliasMixinProps
@Stability(Stable)
public static final class CfnRoleAliasMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoleAliasMixinProps>
A builder for
CfnRoleAliasMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialDurationSeconds(Number credentialDurationSeconds) Sets the value ofCfnRoleAliasMixinProps.getCredentialDurationSeconds()Sets the value ofCfnRoleAliasMixinProps.getRoleAlias()Sets the value ofCfnRoleAliasMixinProps.getRoleArn()Sets the value ofCfnRoleAliasMixinProps.getRoleArn()Sets the value ofCfnRoleAliasMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentialDurationSeconds
@Stability(Stable) public CfnRoleAliasMixinProps.Builder credentialDurationSeconds(Number credentialDurationSeconds) Sets the value ofCfnRoleAliasMixinProps.getCredentialDurationSeconds()- Parameters:
credentialDurationSeconds- The number of seconds for which the credential is valid.- Returns:
this
-
roleAlias
Sets the value ofCfnRoleAliasMixinProps.getRoleAlias()- Parameters:
roleAlias- The role alias.- Returns:
this
-
roleArn
Sets the value ofCfnRoleAliasMixinProps.getRoleArn()- Parameters:
roleArn- The role ARN.- Returns:
this
-
roleArn
Sets the value ofCfnRoleAliasMixinProps.getRoleArn()- Parameters:
roleArn- The role ARN.- Returns:
this
-
tags
Sets the value ofCfnRoleAliasMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoleAliasMixinProps>- Returns:
- a new instance of
CfnRoleAliasMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-