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