Interface UpdateStreamGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateStreamGroupRequest.Builder,
,UpdateStreamGroupRequest> GameLiftStreamsRequest.Builder
,SdkBuilder<UpdateStreamGroupRequest.Builder,
,UpdateStreamGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateStreamGroupRequest
@Mutable
@NotThreadSafe
public static interface UpdateStreamGroupRequest.Builder
extends GameLiftStreamsRequest.Builder, SdkPojo, CopyableBuilder<UpdateStreamGroupRequest.Builder,UpdateStreamGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A descriptive label for the stream group.identifier
(String identifier) An Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource.locationConfigurations
(Collection<LocationConfiguration> locationConfigurations) A set of one or more locations and the streaming capacity for each location.locationConfigurations
(Consumer<LocationConfiguration.Builder>... locationConfigurations) A set of one or more locations and the streaming capacity for each location.locationConfigurations
(LocationConfiguration... locationConfigurations) A set of one or more locations and the streaming capacity for each location.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
description
A descriptive label for the stream group.
- Parameters:
description
- A descriptive label for the stream group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
An Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4
. Example ID:sg-1AB2C3De4
.- Parameters:
identifier
- An Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Example ARN:arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4
. Example ID:sg-1AB2C3De4
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationConfigurations
UpdateStreamGroupRequest.Builder locationConfigurations(Collection<LocationConfiguration> locationConfigurations) A set of one or more locations and the streaming capacity for each location.
- Parameters:
locationConfigurations
- A set of one or more locations and the streaming capacity for each location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationConfigurations
UpdateStreamGroupRequest.Builder locationConfigurations(LocationConfiguration... locationConfigurations) A set of one or more locations and the streaming capacity for each location.
- Parameters:
locationConfigurations
- A set of one or more locations and the streaming capacity for each location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationConfigurations
UpdateStreamGroupRequest.Builder locationConfigurations(Consumer<LocationConfiguration.Builder>... locationConfigurations) A set of one or more locations and the streaming capacity for each location.
This is a convenience method that creates an instance of theLocationConfiguration.Builder
avoiding the need to create one manually viaLocationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocationConfigurations(List<LocationConfiguration>)
.- Parameters:
locationConfigurations
- a consumer that will call methods onLocationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateStreamGroupRequest.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
UpdateStreamGroupRequest.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.
-