Interface CreateBuildResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateBuildResponse.Builder,,CreateBuildResponse> GameLiftResponse.Builder,SdkBuilder<CreateBuildResponse.Builder,,CreateBuildResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateBuildResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateBuildResponse.Builderbuild(Consumer<Build.Builder> build) The newly created build resource, including a unique build IDs and status.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.storageLocation(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.uploadCredentials(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
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
-
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 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:
-
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 Servers. 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 Servers. 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 Servers. 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:
-
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
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:
-