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