Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class UpdateApplicationVersionRequest

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

public class UpdateApplicationVersionRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the UpdateApplicationVersion operation.

Updates the specified application version to have the specified properties.

NOTE: If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.

See Also:
AWSElasticBeanstalk.updateApplicationVersion(UpdateApplicationVersionRequest), Serialized Form

Constructor Summary
UpdateApplicationVersionRequest()
          Default constructor for a new UpdateApplicationVersionRequest object.
UpdateApplicationVersionRequest(String applicationName, String versionLabel)
          Constructs a new UpdateApplicationVersionRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getApplicationName()
          The name of the application associated with this version.
 String getDescription()
          A new description for this release.
 String getVersionLabel()
          The name of the version to update.
 int hashCode()
           
 void setApplicationName(String applicationName)
          The name of the application associated with this version.
 void setDescription(String description)
          A new description for this release.
 void setVersionLabel(String versionLabel)
          The name of the version to update.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UpdateApplicationVersionRequest withApplicationName(String applicationName)
          The name of the application associated with this version.
 UpdateApplicationVersionRequest withDescription(String description)
          A new description for this release.
 UpdateApplicationVersionRequest withVersionLabel(String versionLabel)
          The name of the version to update.
 
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

UpdateApplicationVersionRequest

public UpdateApplicationVersionRequest()
Default constructor for a new UpdateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


UpdateApplicationVersionRequest

public UpdateApplicationVersionRequest(String applicationName,
                                       String versionLabel)
Constructs a new UpdateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
applicationName - The name of the application associated with this version.

If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

versionLabel - The name of the version to update.

If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

Method Detail

getApplicationName

public String getApplicationName()
The name of the application associated with this version.

If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Returns:
The name of the application associated with this version.

If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.


setApplicationName

public void setApplicationName(String applicationName)
The name of the application associated with this version.

If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application associated with this version.

If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.


withApplicationName

public UpdateApplicationVersionRequest withApplicationName(String applicationName)
The name of the application associated with this version.

If no application is found with this name, 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 associated with this version.

If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.

Returns:
A reference to this updated object so that method calls can be chained together.

getVersionLabel

public String getVersionLabel()
The name of the version to update.

If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Returns:
The name of the version to update.

If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.


setVersionLabel

public void setVersionLabel(String versionLabel)
The name of the version to update.

If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Parameters:
versionLabel - The name of the version to update.

If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.


withVersionLabel

public UpdateApplicationVersionRequest withVersionLabel(String versionLabel)
The name of the version to update.

If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.

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

Constraints:
Length: 1 - 100

Parameters:
versionLabel - The name of the version to update.

If no application version is found with this label, 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 this release.

Constraints:
Length: 0 - 200

Returns:
A new description for this release.

setDescription

public void setDescription(String description)
A new description for this release.

Constraints:
Length: 0 - 200

Parameters:
description - A new description for this release.

withDescription

public UpdateApplicationVersionRequest withDescription(String description)
A new description for this release.

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

Constraints:
Length: 0 - 200

Parameters:
description - A new description for this release.
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.