Class UpdateApplicationRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.UpdateApplicationRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class UpdateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to update an application.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateApplicationRequest()
Default constructor for UpdateApplicationRequest object.UpdateApplicationRequest(String applicationName)
Constructs a new UpdateApplicationRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateApplicationRequest
clone()
Creates a shallow clone of this request.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
UpdateApplicationRequest
public UpdateApplicationRequest()
Default constructor for UpdateApplicationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
UpdateApplicationRequest
public UpdateApplicationRequest(String applicationName)
Constructs a new UpdateApplicationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
applicationName
- The name of the application to update. If no such application is found,UpdateApplication
returns anInvalidParameterValue
error.
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
The name of the application to update. If no such application is found,
UpdateApplication
returns anInvalidParameterValue
error.- Parameters:
applicationName
- The name of the application to update. If no such application is found,UpdateApplication
returns anInvalidParameterValue
error.
-
getApplicationName
public String getApplicationName()
The name of the application to update. If no such application is found,
UpdateApplication
returns anInvalidParameterValue
error.- Returns:
- The name of the application to update. If no such application is
found,
UpdateApplication
returns anInvalidParameterValue
error.
-
withApplicationName
public UpdateApplicationRequest withApplicationName(String applicationName)
The name of the application to update. If no such application is found,
UpdateApplication
returns anInvalidParameterValue
error.- Parameters:
applicationName
- The name of the application to update. If no such application is found,UpdateApplication
returns anInvalidParameterValue
error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A new description for the application.
Default: If not specified, AWS Elastic Beanstalk does not update the description.
- Parameters:
description
- A new description for the application.Default: If not specified, AWS Elastic Beanstalk does not update the description.
-
getDescription
public String getDescription()
A new description for the application.
Default: If not specified, AWS Elastic Beanstalk does not update the description.
- Returns:
- A new description for the application.
Default: If not specified, AWS Elastic Beanstalk does not update the description.
-
withDescription
public UpdateApplicationRequest withDescription(String description)
A new description for the application.
Default: If not specified, AWS Elastic Beanstalk does not update the description.
- Parameters:
description
- A new description for the application.Default: If not specified, AWS Elastic Beanstalk does not update the description.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateApplicationRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-