public class ComposeEnvironmentsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to create or update a group of environments.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The name of the application to which the specified source bundles belong.
|
private java.lang.String |
groupName
The name of the group to which the target environments belong.
|
private SdkInternalList<java.lang.String> |
versionLabels
A list of version labels, specifying one or more application source
bundles that belong to the target application.
|
NOOP
Constructor and Description |
---|
ComposeEnvironmentsRequest() |
Modifier and Type | Method and Description |
---|---|
ComposeEnvironmentsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The name of the application to which the specified source bundles belong.
|
java.lang.String |
getGroupName()
The name of the group to which the target environments belong.
|
java.util.List<java.lang.String> |
getVersionLabels()
A list of version labels, specifying one or more application source
bundles that belong to the target application.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
The name of the application to which the specified source bundles belong.
|
void |
setGroupName(java.lang.String groupName)
The name of the group to which the target environments belong.
|
void |
setVersionLabels(java.util.Collection<java.lang.String> versionLabels)
A list of version labels, specifying one or more application source
bundles that belong to the target application.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ComposeEnvironmentsRequest |
withApplicationName(java.lang.String applicationName)
The name of the application to which the specified source bundles belong.
|
ComposeEnvironmentsRequest |
withGroupName(java.lang.String groupName)
The name of the group to which the target environments belong.
|
ComposeEnvironmentsRequest |
withVersionLabels(java.util.Collection<java.lang.String> versionLabels)
A list of version labels, specifying one or more application source
bundles that belong to the target application.
|
ComposeEnvironmentsRequest |
withVersionLabels(java.lang.String... versionLabels)
A list of version labels, specifying one or more application source
bundles that belong to the target application.
|
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
private java.lang.String applicationName
The name of the application to which the specified source bundles belong.
private java.lang.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.
private SdkInternalList<java.lang.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.
public void setApplicationName(java.lang.String applicationName)
The name of the application to which the specified source bundles belong.
applicationName
- The name of the application to which the specified source bundles
belong.public java.lang.String getApplicationName()
The name of the application to which the specified source bundles belong.
public ComposeEnvironmentsRequest withApplicationName(java.lang.String applicationName)
The name of the application to which the specified source bundles belong.
applicationName
- The name of the application to which the specified source bundles
belong.public void setGroupName(java.lang.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.
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.public java.lang.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.
public ComposeEnvironmentsRequest withGroupName(java.lang.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.
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.public java.util.List<java.lang.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.
public void setVersionLabels(java.util.Collection<java.lang.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.
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.public ComposeEnvironmentsRequest withVersionLabels(java.lang.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)
or
withVersionLabels(java.util.Collection)
if you want to override
the existing values.
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.public ComposeEnvironmentsRequest withVersionLabels(java.util.Collection<java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ComposeEnvironmentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()