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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateBuildResponse.Builderbuild(Consumer<Build.Builder> build)The newly created build resource, including a unique build IDs and status.CreateBuildResponse.Builderbuild(Build build)The newly created build resource, including a unique build IDs and status.default CreateBuildResponse.BuilderstorageLocation(Consumer<S3Location.Builder> storageLocation)Amazon S3 location for your game build file, including bucket name and key.CreateBuildResponse.BuilderstorageLocation(S3Location storageLocation)Amazon S3 location for your game build file, including bucket name and key.default CreateBuildResponse.BuilderuploadCredentials(Consumer<Credentials.Builder> uploadCredentials)This element is returned only when the operation is called without a storage location.CreateBuildResponse.BuilderuploadCredentials(Credentials uploadCredentials)This element is returned only when the operation is called without a storage location.-
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
-
build
CreateBuildResponse.Builder build(Build 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
default CreateBuildResponse.Builder build(Consumer<Build.Builder> build)
The newly created build resource, including a unique build IDs and status.
This is a convenience method that creates an instance of theBuild.Builderavoiding the need to create one manually viaBuild.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuild(Build).- Parameters:
build- a consumer that will call methods onBuild.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
build(Build)
-
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 theCredentials.Builderavoiding the need to create one manually viaCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touploadCredentials(Credentials).- Parameters:
uploadCredentials- a consumer that will call methods onCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
uploadCredentials(Credentials)
-
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 theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageLocation(S3Location).- Parameters:
storageLocation- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
storageLocation(S3Location)
-
-