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