Class RoleAliasReference.Builder
java.lang.Object
software.amazon.awscdk.services.iot.RoleAliasReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RoleAliasReference>
- Enclosing interface:
RoleAliasReference
@Stability(Stable)
public static final class RoleAliasReference.Builder
extends Object
implements software.amazon.jsii.Builder<RoleAliasReference>
A builder for
RoleAliasReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofRoleAliasReference.getRoleAlias()
roleAliasArn
(String roleAliasArn) Sets the value ofRoleAliasReference.getRoleAliasArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleAlias
Sets the value ofRoleAliasReference.getRoleAlias()
- Parameters:
roleAlias
- The RoleAlias of the RoleAlias resource. This parameter is required.- Returns:
this
-
roleAliasArn
Sets the value ofRoleAliasReference.getRoleAliasArn()
- Parameters:
roleAliasArn
- The ARN of the RoleAlias resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RoleAliasReference>
- Returns:
- a new instance of
RoleAliasReference
- Throws:
NullPointerException
- if any required attribute was not provided
-