Interface DescribeInstancesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeInstancesRequest.Builder,,DescribeInstancesRequest> GameLiftRequest.Builder,SdkBuilder<DescribeInstancesRequest.Builder,,DescribeInstancesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeInstancesRequest
@Mutable
@NotThreadSafe
public static interface DescribeInstancesRequest.Builder
extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier for the fleet to retrieve instance information for.instanceId(String instanceId) A unique identifier for an instance to retrieve.The maximum number of results to return.The name of a location to retrieve instance information for, in the form of an Amazon Web Services Region code such asus-west-2.A token that indicates the start of the next sequential page of results.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fleetId
A unique identifier for the fleet to retrieve instance information for. You can use either the fleet ID or ARN value.
- Parameters:
fleetId- A unique identifier for the fleet to retrieve instance information for. You can use either the fleet ID or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
A unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet.
- Parameters:
instanceId- A unique identifier for an instance to retrieve. Specify an instance ID or leave blank to retrieve all instances in the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of results to return. Use this parameter with
NextTokento get results as a set of sequential pages.- Parameters:
limit- The maximum number of results to return. Use this parameter withNextTokento get results as a set of sequential pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
- Parameters:
nextToken- A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The name of a location to retrieve instance information for, in the form of an Amazon Web Services Region code such as
us-west-2.- Parameters:
location- The name of a location to retrieve instance information for, in the form of an Amazon Web Services Region code such asus-west-2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-