public static interface RestartAppServerRequest.Builder extends ElasticBeanstalkRequest.Builder, CopyableBuilder<RestartAppServerRequest.Builder,RestartAppServerRequest>
Modifier and Type | Method and Description |
---|---|
RestartAppServerRequest.Builder |
environmentId(String environmentId)
The ID of the environment to restart the server for.
|
RestartAppServerRequest.Builder |
environmentName(String environmentName)
The name of the environment to restart the server for.
|
RestartAppServerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
RestartAppServerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
RestartAppServerRequest.Builder environmentId(String environmentId)
The ID of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS
Elastic Beanstalk returns MissingRequiredParameter
error.
environmentId
- The ID of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either,
AWS Elastic Beanstalk returns MissingRequiredParameter
error.
RestartAppServerRequest.Builder environmentName(String environmentName)
The name of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS
Elastic Beanstalk returns MissingRequiredParameter
error.
environmentName
- The name of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either,
AWS Elastic Beanstalk returns MissingRequiredParameter
error.
RestartAppServerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.RestartAppServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.