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