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