Interface CreateBuildResponse.Builder

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

public static interface CreateBuildResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<CreateBuildResponse.Builder,CreateBuildResponse>
  • Method Details

    • build

      The newly created build resource, including a unique build IDs and status.

      Parameters:
      build - The newly created build resource, including a unique build IDs and status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • build

      The newly created build resource, including a unique build IDs and status.

      This is a convenience method that creates an instance of the Build.Builder avoiding the need to create one manually via Build.builder().

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

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

      CreateBuildResponse.Builder uploadCredentials(Credentials uploadCredentials)

      This element is returned only when the operation is called without a storage location. It contains credentials to use when you are uploading a build file to an Amazon S3 bucket that is owned by Amazon GameLift. Credentials have a limited life span. To refresh these credentials, call RequestUploadCredentials.

      Parameters:
      uploadCredentials - This element is returned only when the operation is called without a storage location. It contains credentials to use when you are uploading a build file to an Amazon S3 bucket that is owned by Amazon GameLift. Credentials have a limited life span. To refresh these credentials, call RequestUploadCredentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uploadCredentials

      default CreateBuildResponse.Builder uploadCredentials(Consumer<Credentials.Builder> uploadCredentials)

      This element is returned only when the operation is called without a storage location. It contains credentials to use when you are uploading a build file to an Amazon S3 bucket that is owned by Amazon GameLift. Credentials have a limited life span. To refresh these credentials, call RequestUploadCredentials.

      This is a convenience method that creates an instance of the Credentials.Builder avoiding the need to create one manually via Credentials.builder().

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

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

      CreateBuildResponse.Builder storageLocation(S3Location storageLocation)

      Amazon S3 location for your game build file, including bucket name and key.

      Parameters:
      storageLocation - Amazon S3 location for your game build file, including bucket name and key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageLocation

      default CreateBuildResponse.Builder storageLocation(Consumer<S3Location.Builder> storageLocation)

      Amazon S3 location for your game build file, including bucket name and key.

      This is a convenience method that creates an instance of the S3Location.Builder avoiding the need to create one manually via S3Location.builder().

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

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