Interface CreateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> GameLiftStreamsRequest.Builder
,SdkBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationLogOutputUri
(String applicationLogOutputUri) An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs.applicationLogPaths
(String... applicationLogPaths) Locations of log files that your content generates during a stream session.applicationLogPaths
(Collection<String> applicationLogPaths) Locations of log files that your content generates during a stream session.applicationSourceUri
(String applicationSourceUri) The location of the content that you want to stream.clientToken
(String clientToken) A unique identifier that represents a client request.description
(String description) A human-readable label for the application.executablePath
(String executablePath) The path and file name of the executable file that launches the content for streaming.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateApplicationRequest.Builder
runtimeEnvironment
(Consumer<RuntimeEnvironment.Builder> runtimeEnvironment) Configuration settings that identify the operating system for an application resource.runtimeEnvironment
(RuntimeEnvironment runtimeEnvironment) Configuration settings that identify the operating system for an application resource.A list of labels to assign to the new application resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gameliftstreams.model.GameLiftStreamsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationLogOutputUri
An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs. Required if you specify one or more
ApplicationLogPaths
.The log bucket must have permissions that give Amazon GameLift Streams access to write the log files. For more information, see Application log bucket permission policy in the Amazon GameLift Streams Developer Guide.
- Parameters:
applicationLogOutputUri
- An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs. Required if you specify one or moreApplicationLogPaths
.The log bucket must have permissions that give Amazon GameLift Streams access to write the log files. For more information, see Application log bucket permission policy in the Amazon GameLift Streams Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationLogPaths
Locations of log files that your content generates during a stream session. Enter path values that are relative to the
ApplicationSourceUri
location. You can specify up to 10 log paths. Amazon GameLift Streams uploads designated log files to the Amazon S3 bucket that you specify inApplicationLogOutputUri
at the end of a stream session. To retrieve stored log files, call GetStreamSession and get theLogFileLocationUri
.- Parameters:
applicationLogPaths
- Locations of log files that your content generates during a stream session. Enter path values that are relative to theApplicationSourceUri
location. You can specify up to 10 log paths. Amazon GameLift Streams uploads designated log files to the Amazon S3 bucket that you specify inApplicationLogOutputUri
at the end of a stream session. To retrieve stored log files, call GetStreamSession and get theLogFileLocationUri
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationLogPaths
Locations of log files that your content generates during a stream session. Enter path values that are relative to the
ApplicationSourceUri
location. You can specify up to 10 log paths. Amazon GameLift Streams uploads designated log files to the Amazon S3 bucket that you specify inApplicationLogOutputUri
at the end of a stream session. To retrieve stored log files, call GetStreamSession and get theLogFileLocationUri
.- Parameters:
applicationLogPaths
- Locations of log files that your content generates during a stream session. Enter path values that are relative to theApplicationSourceUri
location. You can specify up to 10 log paths. Amazon GameLift Streams uploads designated log files to the Amazon S3 bucket that you specify inApplicationLogOutputUri
at the end of a stream session. To retrieve stored log files, call GetStreamSession and get theLogFileLocationUri
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSourceUri
The location of the content that you want to stream. Enter an Amazon S3 URI to a bucket that contains your game or other application. The location can have a multi-level prefix structure, but it must include all the files needed to run the content. Amazon GameLift Streams copies everything under the specified location.
This value is immutable. To designate a different content location, create a new application.
The Amazon S3 bucket and the Amazon GameLift Streams application must be in the same Amazon Web Services Region.
- Parameters:
applicationSourceUri
- The location of the content that you want to stream. Enter an Amazon S3 URI to a bucket that contains your game or other application. The location can have a multi-level prefix structure, but it must include all the files needed to run the content. Amazon GameLift Streams copies everything under the specified location.This value is immutable. To designate a different content location, create a new application.
The Amazon S3 bucket and the Amazon GameLift Streams application must be in the same Amazon Web Services Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique identifier that represents a client request. The request is idempotent, which ensures that an API request completes only once. When users send a request, Amazon GameLift Streams automatically populates this field.
- Parameters:
clientToken
- A unique identifier that represents a client request. The request is idempotent, which ensures that an API request completes only once. When users send a request, Amazon GameLift Streams automatically populates this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable label for the application. You can update this value later.
- Parameters:
description
- A human-readable label for the application. You can update this value later.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executablePath
The path and file name of the executable file that launches the content for streaming. Enter a path value that is relative to the location set in
ApplicationSourceUri
.- Parameters:
executablePath
- The path and file name of the executable file that launches the content for streaming. Enter a path value that is relative to the location set inApplicationSourceUri
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeEnvironment
Configuration settings that identify the operating system for an application resource. This can also include a compatibility layer and other drivers.
A runtime environment can be one of the following:
-
For Linux applications
-
Ubuntu 22.04 LTS (
Type=UBUNTU, Version=22_04_LTS
)
-
-
For Windows applications
-
Microsoft Windows Server 2022 Base (
Type=WINDOWS, Version=2022
) -
Proton 8.0-5 (
Type=PROTON, Version=20241007
) -
Proton 8.0-2c (
Type=PROTON, Version=20230704
)
-
- Parameters:
runtimeEnvironment
- Configuration settings that identify the operating system for an application resource. This can also include a compatibility layer and other drivers.A runtime environment can be one of the following:
-
For Linux applications
-
Ubuntu 22.04 LTS (
Type=UBUNTU, Version=22_04_LTS
)
-
-
For Windows applications
-
Microsoft Windows Server 2022 Base (
Type=WINDOWS, Version=2022
) -
Proton 8.0-5 (
Type=PROTON, Version=20241007
) -
Proton 8.0-2c (
Type=PROTON, Version=20230704
)
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
runtimeEnvironment
default CreateApplicationRequest.Builder runtimeEnvironment(Consumer<RuntimeEnvironment.Builder> runtimeEnvironment) Configuration settings that identify the operating system for an application resource. This can also include a compatibility layer and other drivers.
A runtime environment can be one of the following:
-
For Linux applications
-
Ubuntu 22.04 LTS (
Type=UBUNTU, Version=22_04_LTS
)
-
-
For Windows applications
-
Microsoft Windows Server 2022 Base (
Type=WINDOWS, Version=2022
) -
Proton 8.0-5 (
Type=PROTON, Version=20241007
) -
Proton 8.0-2c (
Type=PROTON, Version=20230704
)
-
RuntimeEnvironment.Builder
avoiding the need to create one manually viaRuntimeEnvironment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeEnvironment(RuntimeEnvironment)
.- Parameters:
runtimeEnvironment
- a consumer that will call methods onRuntimeEnvironment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
tags
A list of labels to assign to the new application resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources is useful for resource management, access management and cost allocation. See Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. You can use TagResource to add tags, UntagResource to remove tags, and ListTagsForResource to view tags on existing resources.
- Parameters:
tags
- A list of labels to assign to the new application resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources is useful for resource management, access management and cost allocation. See Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. You can use TagResource to add tags, UntagResource to remove tags, and ListTagsForResource to view tags on existing resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-