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