|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticbeanstalk.model.RestartAppServerRequest
public class RestartAppServerRequest
Container for the parameters to the RestartAppServer operation
.
Causes the environment to restart the application container server running on each Amazon EC2 instance.
AWSElasticBeanstalk.restartAppServer(RestartAppServerRequest)
,
Serialized FormConstructor Summary | |
---|---|
RestartAppServerRequest()
Default constructor for a new RestartAppServerRequest object. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RestartAppServerRequest()
Method Detail |
---|
public 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(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(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 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(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(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |