Class ResourceAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.servicecatalogappregistry.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 TypeMethodDescriptionapplicationArn(String applicationArn) Sets the value ofResourceAssociationReference.getApplicationArn()build()Builds the configured instance.resourceArn(String resourceArn) Sets the value ofResourceAssociationReference.getResourceArn()resourceType(String resourceType) Sets the value ofResourceAssociationReference.getResourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArn
@Stability(Stable) public ResourceAssociationReference.Builder applicationArn(String applicationArn) Sets the value ofResourceAssociationReference.getApplicationArn()- Parameters:
applicationArn- The ApplicationArn of the ResourceAssociation resource. This parameter is required.- Returns:
this
-
resourceArn
Sets the value ofResourceAssociationReference.getResourceArn()- Parameters:
resourceArn- The ResourceArn of the ResourceAssociation resource. This parameter is required.- Returns:
this
-
resourceType
Sets the value ofResourceAssociationReference.getResourceType()- Parameters:
resourceType- The ResourceType 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
-