Class CfnSourceAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ram.CfnSourceAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceAssociation>
- Enclosing class:
CfnSourceAssociation
@Stability(Stable)
public static final class CfnSourceAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceAssociation>
A fluent builder for
CfnSourceAssociation.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSourceAssociation.BuilderresourceShareArn(String resourceShareArn) Specifies the Amazon Resource Name (ARN) of the resource share.Specifies the ID of the source account to associate with the resource share.
-
Method Details
-
create
@Stability(Stable) public static CfnSourceAssociation.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
CfnSourceAssociation.Builder.
-
sourceId
Specifies the ID of the source account to associate with the resource share.- Parameters:
sourceId- Specifies the ID of the source account to associate with the resource share. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSourceAssociation>- Returns:
- a newly built instance of
CfnSourceAssociation.
-