Class CfnPortfolioPrincipalAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnPortfolioPrincipalAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPortfolioPrincipalAssociation>
- Enclosing class:
CfnPortfolioPrincipalAssociation
@Stability(Stable)
public static final class CfnPortfolioPrincipalAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPortfolioPrincipalAssociation>
A fluent builder for
CfnPortfolioPrincipalAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) The language code.build()
portfolioId
(String portfolioId) The portfolio identifier.principalArn
(String principalArn) The ARN of the principal ( IAM user, role, or group).principalType
(String principalType) The principal type.
-
Method Details
-
create
@Stability(Stable) public static CfnPortfolioPrincipalAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPortfolioPrincipalAssociation.Builder
.
-
portfolioId
The portfolio identifier.- Parameters:
portfolioId
- The portfolio identifier. This parameter is required.- Returns:
this
- See Also:
-
principalArn
@Stability(Stable) public CfnPortfolioPrincipalAssociation.Builder principalArn(String principalArn) The ARN of the principal ( IAM user, role, or group).- Parameters:
principalArn
- The ARN of the principal ( IAM user, role, or group). This parameter is required.- Returns:
this
- See Also:
-
principalType
@Stability(Stable) public CfnPortfolioPrincipalAssociation.Builder principalType(String principalType) The principal type.The supported values are
IAM
andIAM_PATTERN
.- Parameters:
principalType
- The principal type. This parameter is required.- Returns:
this
- See Also:
-
acceptLanguage
@Stability(Stable) public CfnPortfolioPrincipalAssociation.Builder acceptLanguage(String acceptLanguage) The language code.jp
- Japanesezh
- Chinese
- Parameters:
acceptLanguage
- The language code. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPortfolioPrincipalAssociation>
- Returns:
- a newly built instance of
CfnPortfolioPrincipalAssociation
.
-