Interface UpdateScriptResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateScriptResponse.Builder,UpdateScriptResponse>,GameLiftResponse.Builder,SdkBuilder<UpdateScriptResponse.Builder,UpdateScriptResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateScriptResponse
public static interface UpdateScriptResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<UpdateScriptResponse.Builder,UpdateScriptResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateScriptResponse.Builderscript(Consumer<Script.Builder> script)The newly created script record with a unique script ID.UpdateScriptResponse.Builderscript(Script script)The newly created script record with a unique script ID.-
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 Detail
-
script
UpdateScriptResponse.Builder script(Script script)
The newly created script record with a unique script ID. 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. 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
default UpdateScriptResponse.Builder script(Consumer<Script.Builder> script)
The newly created script record with a unique script ID. 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.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:
script(Script)
-
-