@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateEnvironmentRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateEnvironmentRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getApplyDuringMaintenanceWindow()
Indicates whether to update the environment during the maintenance window.
|
Integer |
getDesiredCapacity()
The desired capacity for the environment to update.
|
String |
getEngineVersion()
The version of the runtime engine for the environment.
|
String |
getEnvironmentId()
The unique identifier of the runtime environment that you want to update.
|
String |
getInstanceType()
The instance type for the environment to update.
|
String |
getPreferredMaintenanceWindow()
Configures a desired maintenance window for the environment.
|
int |
hashCode() |
Boolean |
isApplyDuringMaintenanceWindow()
Indicates whether to update the environment during the maintenance window.
|
void |
setApplyDuringMaintenanceWindow(Boolean applyDuringMaintenanceWindow)
Indicates whether to update the environment during the maintenance window.
|
void |
setDesiredCapacity(Integer desiredCapacity)
The desired capacity for the environment to update.
|
void |
setEngineVersion(String engineVersion)
The version of the runtime engine for the environment.
|
void |
setEnvironmentId(String environmentId)
The unique identifier of the runtime environment that you want to update.
|
void |
setInstanceType(String instanceType)
The instance type for the environment to update.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEnvironmentRequest |
withApplyDuringMaintenanceWindow(Boolean applyDuringMaintenanceWindow)
Indicates whether to update the environment during the maintenance window.
|
UpdateEnvironmentRequest |
withDesiredCapacity(Integer desiredCapacity)
The desired capacity for the environment to update.
|
UpdateEnvironmentRequest |
withEngineVersion(String engineVersion)
The version of the runtime engine for the environment.
|
UpdateEnvironmentRequest |
withEnvironmentId(String environmentId)
The unique identifier of the runtime environment that you want to update.
|
UpdateEnvironmentRequest |
withInstanceType(String instanceType)
The instance type for the environment to update.
|
UpdateEnvironmentRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for 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 setApplyDuringMaintenanceWindow(Boolean applyDuringMaintenanceWindow)
Indicates whether to update the environment during the maintenance window. The default is false. Currently,
Amazon Web Services Mainframe Modernization accepts the engineVersion parameter only if
applyDuringMaintenanceWindow is true. If any parameter other than engineVersion is
provided in UpdateEnvironmentRequest, it will fail if applyDuringMaintenanceWindow is
set to true.
applyDuringMaintenanceWindow - Indicates whether to update the environment during the maintenance window. The default is false.
Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion parameter
only if applyDuringMaintenanceWindow is true. If any parameter other than
engineVersion is provided in UpdateEnvironmentRequest, it will fail if
applyDuringMaintenanceWindow is set to true.public Boolean getApplyDuringMaintenanceWindow()
Indicates whether to update the environment during the maintenance window. The default is false. Currently,
Amazon Web Services Mainframe Modernization accepts the engineVersion parameter only if
applyDuringMaintenanceWindow is true. If any parameter other than engineVersion is
provided in UpdateEnvironmentRequest, it will fail if applyDuringMaintenanceWindow is
set to true.
engineVersion parameter
only if applyDuringMaintenanceWindow is true. If any parameter other than
engineVersion is provided in UpdateEnvironmentRequest, it will fail if
applyDuringMaintenanceWindow is set to true.public UpdateEnvironmentRequest withApplyDuringMaintenanceWindow(Boolean applyDuringMaintenanceWindow)
Indicates whether to update the environment during the maintenance window. The default is false. Currently,
Amazon Web Services Mainframe Modernization accepts the engineVersion parameter only if
applyDuringMaintenanceWindow is true. If any parameter other than engineVersion is
provided in UpdateEnvironmentRequest, it will fail if applyDuringMaintenanceWindow is
set to true.
applyDuringMaintenanceWindow - Indicates whether to update the environment during the maintenance window. The default is false.
Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion parameter
only if applyDuringMaintenanceWindow is true. If any parameter other than
engineVersion is provided in UpdateEnvironmentRequest, it will fail if
applyDuringMaintenanceWindow is set to true.public Boolean isApplyDuringMaintenanceWindow()
Indicates whether to update the environment during the maintenance window. The default is false. Currently,
Amazon Web Services Mainframe Modernization accepts the engineVersion parameter only if
applyDuringMaintenanceWindow is true. If any parameter other than engineVersion is
provided in UpdateEnvironmentRequest, it will fail if applyDuringMaintenanceWindow is
set to true.
engineVersion parameter
only if applyDuringMaintenanceWindow is true. If any parameter other than
engineVersion is provided in UpdateEnvironmentRequest, it will fail if
applyDuringMaintenanceWindow is set to true.public void setDesiredCapacity(Integer desiredCapacity)
The desired capacity for the environment to update.
desiredCapacity - The desired capacity for the environment to update.public Integer getDesiredCapacity()
The desired capacity for the environment to update.
public UpdateEnvironmentRequest withDesiredCapacity(Integer desiredCapacity)
The desired capacity for the environment to update.
desiredCapacity - The desired capacity for the environment to update.public void setEngineVersion(String engineVersion)
The version of the runtime engine for the environment.
engineVersion - The version of the runtime engine for the environment.public String getEngineVersion()
The version of the runtime engine for the environment.
public UpdateEnvironmentRequest withEngineVersion(String engineVersion)
The version of the runtime engine for the environment.
engineVersion - The version of the runtime engine for the environment.public void setEnvironmentId(String environmentId)
The unique identifier of the runtime environment that you want to update.
environmentId - The unique identifier of the runtime environment that you want to update.public String getEnvironmentId()
The unique identifier of the runtime environment that you want to update.
public UpdateEnvironmentRequest withEnvironmentId(String environmentId)
The unique identifier of the runtime environment that you want to update.
environmentId - The unique identifier of the runtime environment that you want to update.public void setInstanceType(String instanceType)
The instance type for the environment to update.
instanceType - The instance type for the environment to update.public String getInstanceType()
The instance type for the environment to update.
public UpdateEnvironmentRequest withInstanceType(String instanceType)
The instance type for the environment to update.
instanceType - The instance type for the environment to update.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random
system-generated value will be assigned.public String getPreferredMaintenanceWindow()
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
public UpdateEnvironmentRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow - Configures a desired maintenance window for the environment. If you do not provide a value, a random
system-generated value will be assigned.public String toString()
toString in class ObjectObject.toString()public UpdateEnvironmentRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.