Interface AddStreamGroupLocationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AddStreamGroupLocationsResponse.Builder,,AddStreamGroupLocationsResponse> GameLiftStreamsResponse.Builder,SdkBuilder<AddStreamGroupLocationsResponse.Builder,,AddStreamGroupLocationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AddStreamGroupLocationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) This value is an Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource.locations(Collection<LocationState> locations) This value is set of locations, including their name, current status, and capacities.locations(Consumer<LocationState.Builder>... locations) This value is set of locations, including their name, current status, and capacities.locations(LocationState... locations) This value is set of locations, including their name, current status, and capacities.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gameliftstreams.model.GameLiftStreamsResponse.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
-
identifier
This value is 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- This value is 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.
-
locations
This value is set of locations, including their name, current status, and capacities.
A location can be in one of the following states:
-
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet. -
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location. -
ERROR: Amazon GameLift Streams failed to set up this location. TheStatusReasonfield describes the error. You can remove this location and try to add it again. -
REMOVING: Amazon GameLift Streams is working to remove this location. This will release all provisioned capacity for this location in this stream group.
- Parameters:
locations- This value is set of locations, including their name, current status, and capacities.A location can be in one of the following states:
-
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet. -
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location. -
ERROR: Amazon GameLift Streams failed to set up this location. TheStatusReasonfield describes the error. You can remove this location and try to add it again. -
REMOVING: Amazon GameLift Streams is working to remove this location. This will release all provisioned capacity for this location in this stream group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
locations
This value is set of locations, including their name, current status, and capacities.
A location can be in one of the following states:
-
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet. -
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location. -
ERROR: Amazon GameLift Streams failed to set up this location. TheStatusReasonfield describes the error. You can remove this location and try to add it again. -
REMOVING: Amazon GameLift Streams is working to remove this location. This will release all provisioned capacity for this location in this stream group.
- Parameters:
locations- This value is set of locations, including their name, current status, and capacities.A location can be in one of the following states:
-
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet. -
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location. -
ERROR: Amazon GameLift Streams failed to set up this location. TheStatusReasonfield describes the error. You can remove this location and try to add it again. -
REMOVING: Amazon GameLift Streams is working to remove this location. This will release all provisioned capacity for this location in this stream group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
locations
This value is set of locations, including their name, current status, and capacities.
A location can be in one of the following states:
-
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet. -
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location. -
ERROR: Amazon GameLift Streams failed to set up this location. TheStatusReasonfield describes the error. You can remove this location and try to add it again. -
REMOVING: Amazon GameLift Streams is working to remove this location. This will release all provisioned capacity for this location in this stream group.
LocationState.Builderavoiding the need to create one manually viaLocationState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocations(List<LocationState>).- Parameters:
locations- a consumer that will call methods onLocationState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-