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