Class CfnApplicationAssignmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.sso.CfnApplicationAssignmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationAssignmentProps>
- Enclosing interface:
CfnApplicationAssignmentProps
@Stability(Stable)
public static final class CfnApplicationAssignmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationAssignmentProps>
A builder for
CfnApplicationAssignmentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationArn(String applicationArn) Sets the value ofCfnApplicationAssignmentProps.getApplicationArn()build()Builds the configured instance.principalId(String principalId) Sets the value ofCfnApplicationAssignmentProps.getPrincipalId()principalType(String principalType) Sets the value ofCfnApplicationAssignmentProps.getPrincipalType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArn
@Stability(Stable) public CfnApplicationAssignmentProps.Builder applicationArn(String applicationArn) Sets the value ofCfnApplicationAssignmentProps.getApplicationArn()- Parameters:
applicationArn- The ARN of the application that has principals assigned. This parameter is required.- Returns:
this
-
principalId
Sets the value ofCfnApplicationAssignmentProps.getPrincipalId()- Parameters:
principalId- The unique identifier of the principal assigned to the application. This parameter is required.- Returns:
this
-
principalType
Sets the value ofCfnApplicationAssignmentProps.getPrincipalType()- Parameters:
principalType- The type of the principal assigned to the application. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationAssignmentProps>- Returns:
- a new instance of
CfnApplicationAssignmentProps - Throws:
NullPointerException- if any required attribute was not provided
-