Interface RequestUploadCredentialsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RequestUploadCredentialsResponse.Builder,
,RequestUploadCredentialsResponse> GameLiftResponse.Builder
,SdkBuilder<RequestUploadCredentialsResponse.Builder,
,RequestUploadCredentialsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RequestUploadCredentialsResponse
-
Method Summary
Modifier and TypeMethodDescriptionstorageLocation
(Consumer<S3Location.Builder> storageLocation) Amazon S3 path and key, identifying where the game build files are stored.storageLocation
(S3Location storageLocation) Amazon S3 path and key, identifying where the game build files are stored.uploadCredentials
(Consumer<Credentials.Builder> uploadCredentials) Amazon Web Services credentials required when uploading a game build to the storage location.uploadCredentials
(Credentials uploadCredentials) Amazon Web Services credentials required when uploading a game build to the 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 Details
-
uploadCredentials
Amazon Web Services credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for.
- Parameters:
uploadCredentials
- Amazon Web Services credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadCredentials
default RequestUploadCredentialsResponse.Builder uploadCredentials(Consumer<Credentials.Builder> uploadCredentials) Amazon Web Services credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for.
This is a convenience method that creates an instance of theCredentials.Builder
avoiding the need to create one manually viaCredentials.builder()
.When the
Consumer
completes,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 path and key, identifying where the game build files are stored.
- Parameters:
storageLocation
- Amazon S3 path and key, identifying where the game build files are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLocation
default RequestUploadCredentialsResponse.Builder storageLocation(Consumer<S3Location.Builder> storageLocation) Amazon S3 path and key, identifying where the game build files are stored.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,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:
-