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