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