Interface GetServerDetailsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetServerDetailsRequest.Builder,
,GetServerDetailsRequest> MigrationHubStrategyRequest.Builder
,SdkBuilder<GetServerDetailsRequest.Builder,
,GetServerDetailsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetServerDetailsRequest
@Mutable
@NotThreadSafe
public static interface GetServerDetailsRequest.Builder
extends MigrationHubStrategyRequest.Builder, SdkPojo, CopyableBuilder<GetServerDetailsRequest.Builder,GetServerDetailsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of items to include in the response.The token from a previous call that you use to retrieve the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the server.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.migrationhubstrategy.model.MigrationHubStrategyRequest.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
-
maxResults
The maximum number of items to include in the response. The maximum value is 100.
- Parameters:
maxResults
- The maximum number of items to include in the response. The maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set
maxResults
to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.- Parameters:
nextToken
- The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you setmaxResults
to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverId
The ID of the server.
- Parameters:
serverId
- The ID of the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetServerDetailsRequest.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
GetServerDetailsRequest.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.
-