public class UpdateApplicationRequest extends AmazonWebServiceRequest implements Serializable
UpdateApplication operation
.
Updates the specified application to have the specified properties.
NOTE: If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string.
NOOP
Constructor and Description |
---|
UpdateApplicationRequest()
Default constructor for a new UpdateApplicationRequest object.
|
UpdateApplicationRequest(String applicationName)
Constructs a new UpdateApplicationRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of the application to update.
|
String |
getDescription()
A new description for the application.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of the application to update.
|
void |
setDescription(String description)
A new description for the application.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateApplicationRequest |
withApplicationName(String applicationName)
The name of the application to update.
|
UpdateApplicationRequest |
withDescription(String description)
A new description for the application.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public UpdateApplicationRequest()
public UpdateApplicationRequest(String applicationName)
applicationName
- The name of the application to update. If no
such application is found, UpdateApplication
returns an
InvalidParameterValue
error.public String getApplicationName()
UpdateApplication
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
UpdateApplication
returns an
InvalidParameterValue
error.public void setApplicationName(String applicationName)
UpdateApplication
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
applicationName
- The name of the application to update. If no such application is
found, UpdateApplication
returns an
InvalidParameterValue
error.public UpdateApplicationRequest withApplicationName(String applicationName)
UpdateApplication
returns an
InvalidParameterValue
error.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The name of the application to update. If no such application is
found, UpdateApplication
returns an
InvalidParameterValue
error.public String getDescription()
Default: If not specified, AWS Elastic Beanstalk does not update the description.
Constraints:
Length: 0 - 200
Default: If not specified, AWS Elastic Beanstalk does not update the description.
public void setDescription(String description)
Default: If not specified, AWS Elastic Beanstalk does not update the description.
Constraints:
Length: 0 - 200
description
- A new description for the application. Default: If not specified, AWS Elastic Beanstalk does not update the description.
public UpdateApplicationRequest withDescription(String description)
Default: If not specified, AWS Elastic Beanstalk does not update the description.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 200
description
- A new description for the application. Default: If not specified, AWS Elastic Beanstalk does not update the description.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.