@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to update an environment.
NOOP| Constructor and Description | 
|---|
| UpdateEnvironmentRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateEnvironmentRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getApplicationName()
 The name of the application with which the environment is associated. | 
| 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. | 
| String | getGroupName()
 The name of the group to which the target environment belongs. | 
| 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 | getPlatformArn()
 The ARN of the platform, if used. | 
| 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 | setApplicationName(String applicationName)
 The name of the application with which the environment is associated. | 
| 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 | setGroupName(String groupName)
 The name of the group to which the target environment belongs. | 
| 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 | setPlatformArn(String platformArn)
 The ARN of the platform, if used. | 
| 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. | 
| UpdateEnvironmentRequest | withApplicationName(String applicationName)
 The name of the application with which the environment is associated. | 
| 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 | withGroupName(String groupName)
 The name of the group to which the target environment belongs. | 
| 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 | withPlatformArn(String platformArn)
 The ARN of the platform, if used. | 
| 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. | 
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setApplicationName(String applicationName)
The name of the application with which the environment is associated.
applicationName - The name of the application with which the environment is associated.public String getApplicationName()
The name of the application with which the environment is associated.
public UpdateEnvironmentRequest withApplicationName(String applicationName)
The name of the application with which the environment is associated.
applicationName - The name of the application with which the environment is associated.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 setGroupName(String groupName)
The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name or environment ID parameters. See Environment Manifest (env.yaml) for details.
groupName - The name of the group to which the target environment belongs. Specify a group name only if the
        environment's name is specified in an environment manifest and not with the environment name or
        environment ID parameters. See Environment
        Manifest (env.yaml) for details.public String getGroupName()
The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name or environment ID parameters. See Environment Manifest (env.yaml) for details.
public UpdateEnvironmentRequest withGroupName(String groupName)
The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name or environment ID parameters. See Environment Manifest (env.yaml) for details.
groupName - The name of the group to which the target environment belongs. Specify a group name only if the
        environment's name is specified in an environment manifest and not with the environment name or
        environment ID parameters. See Environment
        Manifest (env.yaml) for details.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 void setPlatformArn(String platformArn)
The ARN of the platform, if used.
platformArn - The ARN of the platform, if used.public String getPlatformArn()
The ARN of the platform, if used.
public UpdateEnvironmentRequest withPlatformArn(String platformArn)
The ARN of the platform, if used.
platformArn - The ARN of the platform, if used.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 ObjectObject.toString()public UpdateEnvironmentRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.