Class ResourceVersionReference.Builder
java.lang.Object
software.amazon.awscdk.services.cloudformation.ResourceVersionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResourceVersionReference>
- Enclosing interface:
ResourceVersionReference
@Stability(Stable)
public static final class ResourceVersionReference.Builder
extends Object
implements software.amazon.jsii.Builder<ResourceVersionReference>
A builder for
ResourceVersionReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.resourceVersionArn
(String resourceVersionArn) Sets the value ofResourceVersionReference.getResourceVersionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceVersionArn
@Stability(Stable) public ResourceVersionReference.Builder resourceVersionArn(String resourceVersionArn) Sets the value ofResourceVersionReference.getResourceVersionArn()
- Parameters:
resourceVersionArn
- The Arn of the ResourceVersion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ResourceVersionReference>
- Returns:
- a new instance of
ResourceVersionReference
- Throws:
NullPointerException
- if any required attribute was not provided
-