Class ComposeEnvironmentsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.ComposeEnvironmentsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ComposeEnvironmentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to create or update a group of environments.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ComposeEnvironmentsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComposeEnvironmentsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getApplicationName()
The name of the application to which the specified source bundles belong.String
getGroupName()
The name of the group to which the target environments belong.List<String>
getVersionLabels()
A list of version labels, specifying one or more application source bundles that belong to the target application.int
hashCode()
void
setApplicationName(String applicationName)
The name of the application to which the specified source bundles belong.void
setGroupName(String groupName)
The name of the group to which the target environments belong.void
setVersionLabels(Collection<String> versionLabels)
A list of version labels, specifying one or more application source bundles that belong to the target application.String
toString()
Returns a string representation of this object; useful for testing and debugging.ComposeEnvironmentsRequest
withApplicationName(String applicationName)
The name of the application to which the specified source bundles belong.ComposeEnvironmentsRequest
withGroupName(String groupName)
The name of the group to which the target environments belong.ComposeEnvironmentsRequest
withVersionLabels(String... versionLabels)
A list of version labels, specifying one or more application source bundles that belong to the target application.ComposeEnvironmentsRequest
withVersionLabels(Collection<String> versionLabels)
A list of version labels, specifying one or more application source bundles that belong to the target 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
-
-
-
-
Method Detail
-
setApplicationName
public void setApplicationName(String applicationName)
The name of the application to which the specified source bundles belong.
- Parameters:
applicationName
- The name of the application to which the specified source bundles belong.
-
getApplicationName
public String getApplicationName()
The name of the application to which the specified source bundles belong.
- Returns:
- The name of the application to which the specified source bundles belong.
-
withApplicationName
public ComposeEnvironmentsRequest withApplicationName(String applicationName)
The name of the application to which the specified source bundles belong.
- Parameters:
applicationName
- The name of the application to which the specified source bundles belong.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGroupName
public void setGroupName(String groupName)
The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.
- Parameters:
groupName
- The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.
-
getGroupName
public String getGroupName()
The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.
- Returns:
- The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.
-
withGroupName
public ComposeEnvironmentsRequest withGroupName(String groupName)
The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.
- Parameters:
groupName
- The name of the group to which the target environments belong. Specify a group name only if the environment name defined in each target environment's manifest ends with a + (plus) character. See Environment Manifest (env.yaml) for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getVersionLabels
public List<String> getVersionLabels()
A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
- Returns:
- A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
-
setVersionLabels
public void setVersionLabels(Collection<String> versionLabels)
A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
- Parameters:
versionLabels
- A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
-
withVersionLabels
public ComposeEnvironmentsRequest withVersionLabels(String... versionLabels)
A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
NOTE: This method appends the values to the existing list (if any). Use
setVersionLabels(java.util.Collection)
orwithVersionLabels(java.util.Collection)
if you want to override the existing values.- Parameters:
versionLabels
- A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVersionLabels
public ComposeEnvironmentsRequest withVersionLabels(Collection<String> versionLabels)
A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.
- Parameters:
versionLabels
- A list of version labels, specifying one or more application source bundles that belong to the target application. Each source bundle must include an environment manifest that specifies the name of the environment and the name of the solution stack to use, and optionally can specify environment links to create.- 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 ComposeEnvironmentsRequest 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()
-
-