public class UpdateEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
This documentation target is not reported in the API reference.
NOOP
Constructor and Description |
---|
UpdateEnvironmentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEnvironmentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDescription()
If this parameter is specified, AWS Elastic Beanstalk updates the
description of this environment.
|
String |
getEnvironmentId()
The ID of the environment to update.
|
String |
getEnvironmentName()
The name of the environment to update.
|
List<ConfigurationOptionSetting> |
getOptionSettings()
If specified, AWS Elastic Beanstalk updates the configuration set
associated with the running environment and sets the specified
configuration options to the requested value.
|
List<OptionSpecification> |
getOptionsToRemove()
A list of custom user-defined configuration options to remove from the
configuration set for this environment.
|
String |
getSolutionStackName()
This specifies the platform version that the environment will run after
the environment is updated.
|
String |
getTemplateName()
If this parameter is specified, AWS Elastic Beanstalk deploys this
configuration template to the environment.
|
EnvironmentTier |
getTier()
This specifies the tier to use to update the environment.
|
String |
getVersionLabel()
If this parameter is specified, AWS Elastic Beanstalk deploys the named
application version to the environment.
|
int |
hashCode() |
void |
setDescription(String description)
If this parameter is specified, AWS Elastic Beanstalk updates the
description of this environment.
|
void |
setEnvironmentId(String environmentId)
The ID of the environment to update.
|
void |
setEnvironmentName(String environmentName)
The name of the environment to update.
|
void |
setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk updates the configuration set
associated with the running environment and sets the specified
configuration options to the requested value.
|
void |
setOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of custom user-defined configuration options to remove from the
configuration set for this environment.
|
void |
setSolutionStackName(String solutionStackName)
This specifies the platform version that the environment will run after
the environment is updated.
|
void |
setTemplateName(String templateName)
If this parameter is specified, AWS Elastic Beanstalk deploys this
configuration template to the environment.
|
void |
setTier(EnvironmentTier tier)
This specifies the tier to use to update the environment.
|
void |
setVersionLabel(String versionLabel)
If this parameter is specified, AWS Elastic Beanstalk deploys the named
application version to the environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateEnvironmentRequest |
withDescription(String description)
If this parameter is specified, AWS Elastic Beanstalk updates the
description of this environment.
|
UpdateEnvironmentRequest |
withEnvironmentId(String environmentId)
The ID of the environment to update.
|
UpdateEnvironmentRequest |
withEnvironmentName(String environmentName)
The name of the environment to update.
|
UpdateEnvironmentRequest |
withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk updates the configuration set
associated with the running environment and sets the specified
configuration options to the requested value.
|
UpdateEnvironmentRequest |
withOptionSettings(ConfigurationOptionSetting... optionSettings)
If specified, AWS Elastic Beanstalk updates the configuration set
associated with the running environment and sets the specified
configuration options to the requested value.
|
UpdateEnvironmentRequest |
withOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of custom user-defined configuration options to remove from the
configuration set for this environment.
|
UpdateEnvironmentRequest |
withOptionsToRemove(OptionSpecification... optionsToRemove)
A list of custom user-defined configuration options to remove from the
configuration set for this environment.
|
UpdateEnvironmentRequest |
withSolutionStackName(String solutionStackName)
This specifies the platform version that the environment will run after
the environment is updated.
|
UpdateEnvironmentRequest |
withTemplateName(String templateName)
If this parameter is specified, AWS Elastic Beanstalk deploys this
configuration template to the environment.
|
UpdateEnvironmentRequest |
withTier(EnvironmentTier tier)
This specifies the tier to use to update the environment.
|
UpdateEnvironmentRequest |
withVersionLabel(String versionLabel)
If this parameter is specified, AWS Elastic Beanstalk deploys the named
application version to the environment.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setEnvironmentId(String environmentId)
The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentId
- The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk
returns an InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentName, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public String getEnvironmentId()
The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
If no environment with this ID exists, AWS Elastic Beanstalk
returns an InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentName, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public UpdateEnvironmentRequest withEnvironmentId(String environmentId)
The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentName, or both.
If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentId
- The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk
returns an InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentName, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public void setEnvironmentName(String environmentName)
The name of the environment to update. If no environment with this name
exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentName
- The name of the environment to update. If no environment with this
name exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public String getEnvironmentName()
The name of the environment to update. If no environment with this name
exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public UpdateEnvironmentRequest withEnvironmentName(String environmentName)
The name of the environment to update. If no environment with this name
exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or both. If
you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
environmentName
- The name of the environment to update. If no environment with this
name exists, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or
both. If you do not specify either, AWS Elastic Beanstalk returns
MissingRequiredParameter
error.
public void setDescription(String description)
If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.
description
- If this parameter is specified, AWS Elastic Beanstalk updates the
description of this environment.public String getDescription()
If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.
public UpdateEnvironmentRequest withDescription(String description)
If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.
description
- If this parameter is specified, AWS Elastic Beanstalk updates the
description of this environment.public void setTier(EnvironmentTier tier)
This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or type,
AWS Elastic Beanstalk returns InvalidParameterValue
error.
tier
- This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or
type, AWS Elastic Beanstalk returns
InvalidParameterValue
error.
public EnvironmentTier getTier()
This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or type,
AWS Elastic Beanstalk returns InvalidParameterValue
error.
Condition: At this time, if you change the tier version, name, or
type, AWS Elastic Beanstalk returns
InvalidParameterValue
error.
public UpdateEnvironmentRequest withTier(EnvironmentTier tier)
This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or type,
AWS Elastic Beanstalk returns InvalidParameterValue
error.
tier
- This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or
type, AWS Elastic Beanstalk returns
InvalidParameterValue
error.
public void setVersionLabel(String versionLabel)
If this parameter is specified, AWS Elastic Beanstalk deploys the named
application version to the environment. If no such application version is
found, returns an InvalidParameterValue
error.
versionLabel
- If this parameter is specified, AWS Elastic Beanstalk deploys the
named application version to the environment. If no such
application version is found, returns an
InvalidParameterValue
error.public String getVersionLabel()
If this parameter is specified, AWS Elastic Beanstalk deploys the named
application version to the environment. If no such application version is
found, returns an InvalidParameterValue
error.
InvalidParameterValue
error.public UpdateEnvironmentRequest withVersionLabel(String versionLabel)
If this parameter is specified, AWS Elastic Beanstalk deploys the named
application version to the environment. If no such application version is
found, returns an InvalidParameterValue
error.
versionLabel
- If this parameter is specified, AWS Elastic Beanstalk deploys the
named application version to the environment. If no such
application version is found, returns an
InvalidParameterValue
error.public void setTemplateName(String templateName)
If this parameter is specified, AWS Elastic Beanstalk deploys this
configuration template to the environment. If no such configuration
template is found, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
templateName
- If this parameter is specified, AWS Elastic Beanstalk deploys this
configuration template to the environment. If no such
configuration template is found, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.public String getTemplateName()
If this parameter is specified, AWS Elastic Beanstalk deploys this
configuration template to the environment. If no such configuration
template is found, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
InvalidParameterValue
error.public UpdateEnvironmentRequest withTemplateName(String templateName)
If this parameter is specified, AWS Elastic Beanstalk deploys this
configuration template to the environment. If no such configuration
template is found, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.
templateName
- If this parameter is specified, AWS Elastic Beanstalk deploys this
configuration template to the environment. If no such
configuration template is found, AWS Elastic Beanstalk returns an
InvalidParameterValue
error.public void setSolutionStackName(String solutionStackName)
This specifies the platform version that the environment will run after the environment is updated.
solutionStackName
- This specifies the platform version that the environment will run
after the environment is updated.public String getSolutionStackName()
This specifies the platform version that the environment will run after the environment is updated.
public UpdateEnvironmentRequest withSolutionStackName(String solutionStackName)
This specifies the platform version that the environment will run after the environment is updated.
solutionStackName
- This specifies the platform version that the environment will run
after the environment is updated.public List<ConfigurationOptionSetting> getOptionSettings()
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value.
public void setOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value.
optionSettings
- If specified, AWS Elastic Beanstalk updates the configuration set
associated with the running environment and sets the specified
configuration options to the requested value.public UpdateEnvironmentRequest withOptionSettings(ConfigurationOptionSetting... optionSettings)
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value.
NOTE: This method appends the values to the existing list (if
any). Use setOptionSettings(java.util.Collection)
or
withOptionSettings(java.util.Collection)
if you want to override
the existing values.
optionSettings
- If specified, AWS Elastic Beanstalk updates the configuration set
associated with the running environment and sets the specified
configuration options to the requested value.public UpdateEnvironmentRequest withOptionSettings(Collection<ConfigurationOptionSetting> optionSettings)
If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value.
optionSettings
- If specified, AWS Elastic Beanstalk updates the configuration set
associated with the running environment and sets the specified
configuration options to the requested value.public List<OptionSpecification> getOptionsToRemove()
A list of custom user-defined configuration options to remove from the configuration set for this environment.
public void setOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of custom user-defined configuration options to remove from the configuration set for this environment.
optionsToRemove
- A list of custom user-defined configuration options to remove from
the configuration set for this environment.public UpdateEnvironmentRequest withOptionsToRemove(OptionSpecification... optionsToRemove)
A list of custom user-defined configuration options to remove from the configuration set for this environment.
NOTE: This method appends the values to the existing list (if
any). Use setOptionsToRemove(java.util.Collection)
or
withOptionsToRemove(java.util.Collection)
if you want to
override the existing values.
optionsToRemove
- A list of custom user-defined configuration options to remove from
the configuration set for this environment.public UpdateEnvironmentRequest withOptionsToRemove(Collection<OptionSpecification> optionsToRemove)
A list of custom user-defined configuration options to remove from the configuration set for this environment.
optionsToRemove
- A list of custom user-defined configuration options to remove from
the configuration set for this environment.public String toString()
toString
in class Object
Object.toString()
public UpdateEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.