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