Class UpdateApplicationVersionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.UpdateApplicationVersionRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateApplicationVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateApplicationVersionRequest()Default constructor for UpdateApplicationVersionRequest object.UpdateApplicationVersionRequest(String applicationName, String versionLabel)Constructs a new UpdateApplicationVersionRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateApplicationVersionRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetApplicationName()The name of the application associated with this version.StringgetDescription()A new description for this release.StringgetVersionLabel()The name of the version to update.inthashCode()voidsetApplicationName(String applicationName)The name of the application associated with this version.voidsetDescription(String description)A new description for this release.voidsetVersionLabel(String versionLabel)The name of the version to update.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateApplicationVersionRequestwithApplicationName(String applicationName)The name of the application associated with this version.UpdateApplicationVersionRequestwithDescription(String description)A new description for this release.UpdateApplicationVersionRequestwithVersionLabel(String versionLabel)The name of the version to update.-
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
-
UpdateApplicationVersionRequest
public UpdateApplicationVersionRequest()
Default constructor for UpdateApplicationVersionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the 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,
UpdateApplicationreturns anInvalidParameterValueerror.versionLabel- The name of the version to update.If no application version is found with this label,
UpdateApplicationreturns anInvalidParameterValueerror.
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
The name of the application associated with this version.
If no application is found with this name,
UpdateApplicationreturns anInvalidParameterValueerror.- Parameters:
applicationName- The name of the application associated with this version.If no application is found with this name,
UpdateApplicationreturns anInvalidParameterValueerror.
-
getApplicationName
public String getApplicationName()
The name of the application associated with this version.
If no application is found with this name,
UpdateApplicationreturns anInvalidParameterValueerror.- Returns:
- The name of the application associated with this version.
If no application is found with this name,
UpdateApplicationreturns anInvalidParameterValueerror.
-
withApplicationName
public UpdateApplicationVersionRequest withApplicationName(String applicationName)
The name of the application associated with this version.
If no application is found with this name,
UpdateApplicationreturns anInvalidParameterValueerror.- Parameters:
applicationName- The name of the application associated with this version.If no application is found with this name,
UpdateApplicationreturns anInvalidParameterValueerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersionLabel
public void setVersionLabel(String versionLabel)
The name of the version to update.
If no application version is found with this label,
UpdateApplicationreturns anInvalidParameterValueerror.- Parameters:
versionLabel- The name of the version to update.If no application version is found with this label,
UpdateApplicationreturns anInvalidParameterValueerror.
-
getVersionLabel
public String getVersionLabel()
The name of the version to update.
If no application version is found with this label,
UpdateApplicationreturns anInvalidParameterValueerror.- Returns:
- The name of the version to update.
If no application version is found with this label,
UpdateApplicationreturns anInvalidParameterValueerror.
-
withVersionLabel
public UpdateApplicationVersionRequest withVersionLabel(String versionLabel)
The name of the version to update.
If no application version is found with this label,
UpdateApplicationreturns anInvalidParameterValueerror.- Parameters:
versionLabel- The name of the version to update.If no application version is found with this label,
UpdateApplicationreturns anInvalidParameterValueerror.- 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 this release.
- Parameters:
description- A new description for this release.
-
getDescription
public String getDescription()
A new description for this release.
- Returns:
- A new description for this release.
-
withDescription
public UpdateApplicationVersionRequest withDescription(String description)
A new description for this release.
- Parameters:
description- A new description for this release.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateApplicationVersionRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-