Class CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty>
- Enclosing interface:
CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty
@Stability(Stable)
public static final class CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty>
A builder for
CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getIamRole()iamRole(IResolvable iamRole) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getIamRole()Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getIamUser()iamUser(IResolvable iamUser) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getIamUser()Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getUser()user(IResolvable user) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getUser()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
iamRole
@Stability(Stable) public CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder iamRole(IResolvable iamRole) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getIamRole()- Parameters:
iamRole- An IAM role identity.- Returns:
this
-
iamRole
@Stability(Stable) public CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder iamRole(CfnAccessPolicyPropsMixin.IamRoleProperty iamRole) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getIamRole()- Parameters:
iamRole- An IAM role identity.- Returns:
this
-
iamUser
@Stability(Stable) public CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder iamUser(IResolvable iamUser) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getIamUser()- Parameters:
iamUser- An IAM user identity.- Returns:
this
-
iamUser
@Stability(Stable) public CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder iamUser(CfnAccessPolicyPropsMixin.IamUserProperty iamUser) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getIamUser()- Parameters:
iamUser- An IAM user identity.- Returns:
this
-
user
@Stability(Stable) public CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder user(IResolvable user) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getUser()- Parameters:
user- An IAM Identity Center user identity.- Returns:
this
-
user
@Stability(Stable) public CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.Builder user(CfnAccessPolicyPropsMixin.UserProperty user) Sets the value ofCfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty.getUser()- Parameters:
user- An IAM Identity Center user identity.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty>- Returns:
- a new instance of
CfnAccessPolicyPropsMixin.AccessPolicyIdentityProperty - Throws:
NullPointerException- if any required attribute was not provided
-