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