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