@Generated(value="software.amazon.awssdk:codegen") public final class RestartAppServerRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<RestartAppServerRequest.Builder,RestartAppServerRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RestartAppServerRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RestartAppServerRequest.Builder |
builder() |
String |
environmentId()
The ID of the environment to restart the server for.
|
String |
environmentName()
The name of the environment to restart the server for.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RestartAppServerRequest.Builder> |
serializableBuilderClass() |
RestartAppServerRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS
Elastic Beanstalk returns MissingRequiredParameter error.
public 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.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS
Elastic Beanstalk returns MissingRequiredParameter error.
public RestartAppServerRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RestartAppServerRequest.Builder,RestartAppServerRequest>toBuilder in class ElasticBeanstalkRequestpublic static RestartAppServerRequest.Builder builder()
public static Class<? extends RestartAppServerRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.