Class CfnAuthPolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnAuthPolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAuthPolicyProps>
- Enclosing interface:
- CfnAuthPolicyProps
@Stability(Stable)
public static final class CfnAuthPolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAuthPolicyProps>
A builder for
CfnAuthPolicyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAuthPolicyProps.getPolicy()resourceIdentifier(String resourceIdentifier) Sets the value ofCfnAuthPolicyProps.getResourceIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policy
Sets the value ofCfnAuthPolicyProps.getPolicy()- Parameters:
policy- The auth policy. This parameter is required.- Returns:
this
-
resourceIdentifier
Sets the value ofCfnAuthPolicyProps.getResourceIdentifier()- Parameters:
resourceIdentifier- The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAuthPolicyProps>- Returns:
- a new instance of
CfnAuthPolicyProps - Throws:
NullPointerException- if any required attribute was not provided
-