@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) |
boolean |
equalsBySdkFields(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()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.