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.Builderscript(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
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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 Servers 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 Servers 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 Servers service.
This is a convenience method that creates an instance of theScript.Builderavoiding the need to create one manually viaScript.builder().When the
Consumercompletes,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:
-