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