public class RestartAppServerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RestartAppServerRequest() |
| Modifier and Type | Method and Description |
|---|---|
RestartAppServerRequest |
clone() |
boolean |
equals(Object obj) |
String |
getEnvironmentId()
The ID of the environment to restart the server for.
|
String |
getEnvironmentName()
The name of the environment to restart the server for.
|
int |
hashCode() |
void |
setEnvironmentId(String environmentId)
The ID of the environment to restart the server for.
|
void |
setEnvironmentName(String environmentName)
The name of the environment to restart the server for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RestartAppServerRequest |
withEnvironmentId(String environmentId)
The ID of the environment to restart the server for.
|
RestartAppServerRequest |
withEnvironmentName(String environmentName)
The name of the environment to restart the server for.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setEnvironmentId(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.
public String getEnvironmentId()
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 RestartAppServerRequest withEnvironmentId(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.
public void setEnvironmentName(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.
public String getEnvironmentName()
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 withEnvironmentName(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.
public String toString()
toString in class ObjectObject.toString()public RestartAppServerRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.