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