Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class UpdateApplicationRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.UpdateApplicationRequest
All Implemented Interfaces:
Serializable

public class UpdateApplicationRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AWSElasticBeanstalk.updateApplication(UpdateApplicationRequest), Serialized Form

Constructor Summary
UpdateApplicationRequest()
          Default constructor for a new UpdateApplicationRequest object.
UpdateApplicationRequest(String applicationName)
          Constructs a new UpdateApplicationRequest object.
 
Method Summary
 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
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateApplicationRequest

public UpdateApplicationRequest()
Default constructor for a new UpdateApplicationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this 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 an InvalidParameterValue error.
Method Detail

getApplicationName

public String getApplicationName()
The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Returns:
The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.

setApplicationName

public void setApplicationName(String applicationName)
The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.

withApplicationName

public UpdateApplicationRequest withApplicationName(String applicationName)
The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
A new description for the application.

Default: If not specified, AWS Elastic Beanstalk does not update the description.

Constraints:
Length: 0 - 200

Returns:
A new description for the application.

Default: If not specified, AWS Elastic Beanstalk does not update the description.


setDescription

public void setDescription(String description)
A new description for the application.

Default: If not specified, AWS Elastic Beanstalk does not update the description.

Constraints:
Length: 0 - 200

Parameters:
description - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 200

Parameters:
description - A new description for the application.

Default: If not specified, AWS Elastic Beanstalk does not update the description.

Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.