|
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.UpdateApplicationVersionRequest
public class UpdateApplicationVersionRequest
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.
AWSElasticBeanstalk.updateApplicationVersion(UpdateApplicationVersionRequest)
,
Serialized FormConstructor 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 |
---|
public UpdateApplicationVersionRequest()
public UpdateApplicationVersionRequest(String applicationName, String versionLabel)
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 |
---|
public String getApplicationName()
If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
Constraints:
Length: 1 - 100
If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
public void setApplicationName(String applicationName)
If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
Constraints:
Length: 1 - 100
applicationName
- The name of the application associated with this version. If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
public UpdateApplicationVersionRequest withApplicationName(String applicationName)
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
applicationName
- The name of the application associated with this version. If no
application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
public String getVersionLabel()
If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
public void setVersionLabel(String versionLabel)
If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
Constraints:
Length: 1 - 100
versionLabel
- The name of the version to update. If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
public UpdateApplicationVersionRequest withVersionLabel(String versionLabel)
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
versionLabel
- The name of the version to update. If no application version is
found with this label, UpdateApplication
returns an
InvalidParameterValue
error.
public String getDescription()
Constraints:
Length: 0 - 200
public void setDescription(String description)
Constraints:
Length: 0 - 200
description
- A new description for this release.public UpdateApplicationVersionRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 200
description
- A new description for this release.
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 |