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