Interface GetServerDetailsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetServerDetailsRequest.Builder,GetServerDetailsRequest>,MigrationHubStrategyRequest.Builder,SdkBuilder<GetServerDetailsRequest.Builder,GetServerDetailsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetServerDetailsRequest
public static interface GetServerDetailsRequest.Builder extends MigrationHubStrategyRequest.Builder, SdkPojo, CopyableBuilder<GetServerDetailsRequest.Builder,GetServerDetailsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetServerDetailsRequest.BuildermaxResults(Integer maxResults)The maximum number of items to include in the response.GetServerDetailsRequest.BuildernextToken(String nextToken)The token from a previous call that you use to retrieve the next set of results.GetServerDetailsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetServerDetailsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetServerDetailsRequest.BuilderserverId(String serverId)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, sdkFields
-
-
-
-
Method Detail
-
maxResults
GetServerDetailsRequest.Builder maxResults(Integer 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
GetServerDetailsRequest.Builder nextToken(String 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
maxResultsto 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 setmaxResultsto 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
GetServerDetailsRequest.Builder serverId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetServerDetailsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-