Class CfnResourceAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ram.CfnResourceAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceAssociationProps>
- Enclosing interface:
CfnResourceAssociationProps
@Stability(Stable)
public static final class CfnResourceAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceAssociationProps>
A builder for
CfnResourceAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceArn(String resourceArn) Sets the value ofCfnResourceAssociationProps.getResourceArn()resourceShareArn(String resourceShareArn) Sets the value ofCfnResourceAssociationProps.getResourceShareArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceArn
Sets the value ofCfnResourceAssociationProps.getResourceArn()- Parameters:
resourceArn- Specifies the Amazon Resource Name (ARN) of the resource to associate with the resource share. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceAssociationProps>- Returns:
- a new instance of
CfnResourceAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-