Interface CreateScriptResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateScriptResponse.Builder,
,CreateScriptResponse> GameLiftResponse.Builder
,SdkBuilder<CreateScriptResponse.Builder,
,CreateScriptResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateScriptResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateScriptResponse.Builder
script
(Consumer<Script.Builder> script) The newly created script record with a unique script ID and ARN.The newly created script record with a unique script ID and ARN.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
script
The newly created script record with a unique script ID and ARN. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon GameLift service.
- Parameters:
script
- The newly created script record with a unique script ID and ARN. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon GameLift service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
script
The newly created script record with a unique script ID and ARN. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon GameLift service.
This is a convenience method that creates an instance of theScript.Builder
avoiding the need to create one manually viaScript.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscript(Script)
.- Parameters:
script
- a consumer that will call methods onScript.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-