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