Interface CreateScriptResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateScriptResponse.Builder,CreateScriptResponse>, GameLiftResponse.Builder, SdkBuilder<CreateScriptResponse.Builder,CreateScriptResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateScriptResponse

public static interface CreateScriptResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<CreateScriptResponse.Builder,CreateScriptResponse>
  • 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 the Script.Builder avoiding the need to create one manually via Script.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to script(Script).

      Parameters:
      script - a consumer that will call methods on Script.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: