Class PermissionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.qbusiness.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 TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofPermissionReference.getApplicationId()build()Builds the configured instance.statementId(String statementId) Sets the value ofPermissionReference.getStatementId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofPermissionReference.getApplicationId()- Parameters:
applicationId- The ApplicationId of the Permission resource. This parameter is required.- Returns:
this
-
statementId
Sets the value ofPermissionReference.getStatementId()- Parameters:
statementId- The StatementId 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
-