public class RestartAppServerRequest extends AmazonWebServiceRequest implements java.io.Serializable
RestartAppServer operation.
Causes the environment to restart the application container server running on each Amazon EC2 instance.
| コンストラクタと説明 |
|---|
RestartAppServerRequest()
Default constructor for a new RestartAppServerRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEnvironmentId()
The ID of the environment to restart the server for.
|
java.lang.String |
getEnvironmentName()
The name of the environment to restart the server for.
|
int |
hashCode() |
void |
setEnvironmentId(java.lang.String environmentId)
The ID of the environment to restart the server for.
|
void |
setEnvironmentName(java.lang.String environmentName)
The name of the environment to restart the server for.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RestartAppServerRequest |
withEnvironmentId(java.lang.String environmentId)
The ID of the environment to restart the server for.
|
RestartAppServerRequest |
withEnvironmentName(java.lang.String environmentName)
The name of the environment to restart the server for.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic RestartAppServerRequest()
public java.lang.String getEnvironmentId()
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 void setEnvironmentId(java.lang.String environmentId)
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 RestartAppServerRequest withEnvironmentId(java.lang.String environmentId)
Condition:
You must specify either this or an EnvironmentName, or both. If you do
not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String getEnvironmentName()
Condition:
You must specify either this or an EnvironmentId, or both. If you do
not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
Constraints:
Length: 4 - 23
Condition:
You must specify either this or an EnvironmentId, or both. If you do
not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
public void setEnvironmentName(java.lang.String environmentName)
Condition:
You must specify either this or an EnvironmentId, or both. If you do
not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
Constraints:
Length: 4 - 23
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 RestartAppServerRequest withEnvironmentName(java.lang.String environmentName)
Condition:
You must specify either this or an EnvironmentId, or both. If you do
not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 4 - 23
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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object