@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getApplyDuringMaintenanceWindow()
Indicates whether to update the runtime environment during the maintenance window.
|
Integer |
getDesiredCapacity()
The desired capacity for the runtime environment to update.
|
String |
getEngineVersion()
The version of the runtime engine for the runtime environment.
|
String |
getEnvironmentId()
The unique identifier of the runtime environment that you want to update.
|
Boolean |
getForceUpdate()
Forces the updates on the environment.
|
String |
getInstanceType()
The instance type for the runtime environment to update.
|
String |
getPreferredMaintenanceWindow()
Configures the maintenance window that you want for the runtime environment.
|
int |
hashCode() |
Boolean |
isApplyDuringMaintenanceWindow()
Indicates whether to update the runtime environment during the maintenance window.
|
Boolean |
isForceUpdate()
Forces the updates on the environment.
|
void |
setApplyDuringMaintenanceWindow(Boolean applyDuringMaintenanceWindow)
Indicates whether to update the runtime environment during the maintenance window.
|
void |
setDesiredCapacity(Integer desiredCapacity)
The desired capacity for the runtime environment to update.
|
void |
setEngineVersion(String engineVersion)
The version of the runtime engine for the runtime environment.
|
void |
setEnvironmentId(String environmentId)
The unique identifier of the runtime environment that you want to update.
|
void |
setForceUpdate(Boolean forceUpdate)
Forces the updates on the environment.
|
void |
setInstanceType(String instanceType)
The instance type for the runtime environment to update.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window that you want for the runtime environment.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEnvironmentRequest |
withApplyDuringMaintenanceWindow(Boolean applyDuringMaintenanceWindow)
Indicates whether to update the runtime environment during the maintenance window.
|
UpdateEnvironmentRequest |
withDesiredCapacity(Integer desiredCapacity)
The desired capacity for the runtime environment to update.
|
UpdateEnvironmentRequest |
withEngineVersion(String engineVersion)
The version of the runtime engine for the runtime environment.
|
UpdateEnvironmentRequest |
withEnvironmentId(String environmentId)
The unique identifier of the runtime environment that you want to update.
|
UpdateEnvironmentRequest |
withForceUpdate(Boolean forceUpdate)
Forces the updates on the environment.
|
UpdateEnvironmentRequest |
withInstanceType(String instanceType)
The instance type for the runtime environment to update.
|
UpdateEnvironmentRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window that you want for the runtime environment.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setApplyDuringMaintenanceWindow(Boolean applyDuringMaintenanceWindow)
Indicates whether to update the runtime 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 runtime 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 runtime 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 runtime 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 runtime 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 runtime 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 runtime environment to update. The minimum possible value is 0 and the maximum is 100.
desiredCapacity
- The desired capacity for the runtime environment to update. The minimum possible value is 0 and the
maximum is 100.public Integer getDesiredCapacity()
The desired capacity for the runtime environment to update. The minimum possible value is 0 and the maximum is 100.
public UpdateEnvironmentRequest withDesiredCapacity(Integer desiredCapacity)
The desired capacity for the runtime environment to update. The minimum possible value is 0 and the maximum is 100.
desiredCapacity
- The desired capacity for the runtime environment to update. The minimum possible value is 0 and the
maximum is 100.public void setEngineVersion(String engineVersion)
The version of the runtime engine for the runtime environment.
engineVersion
- The version of the runtime engine for the runtime environment.public String getEngineVersion()
The version of the runtime engine for the runtime environment.
public UpdateEnvironmentRequest withEngineVersion(String engineVersion)
The version of the runtime engine for the runtime environment.
engineVersion
- The version of the runtime engine for the runtime 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 setForceUpdate(Boolean forceUpdate)
Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
forceUpdate
- Forces the updates on the environment. This option is needed if the applications in the environment are
not stopped or if there are ongoing application-related activities in the environment.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
public Boolean getForceUpdate()
Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
public UpdateEnvironmentRequest withForceUpdate(Boolean forceUpdate)
Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
forceUpdate
- Forces the updates on the environment. This option is needed if the applications in the environment are
not stopped or if there are ongoing application-related activities in the environment.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
public Boolean isForceUpdate()
Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.
This option is not needed if the attribute being updated is preferredMaintenanceWindow
.
public void setInstanceType(String instanceType)
The instance type for the runtime environment to update.
instanceType
- The instance type for the runtime environment to update.public String getInstanceType()
The instance type for the runtime environment to update.
public UpdateEnvironmentRequest withInstanceType(String instanceType)
The instance type for the runtime environment to update.
instanceType
- The instance type for the runtime environment to update.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window that you want for the runtime environment. The maintenance window must have the
format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two examples are valid
maintenance windows: sun:23:45-mon:00:15
or sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow
- Configures the maintenance window that you want for the runtime environment. The maintenance window must
have the format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two
examples are valid maintenance windows: sun:23:45-mon:00:15
or
sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
public String getPreferredMaintenanceWindow()
Configures the maintenance window that you want for the runtime environment. The maintenance window must have the
format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two examples are valid
maintenance windows: sun:23:45-mon:00:15
or sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two
examples are valid maintenance windows: sun:23:45-mon:00:15
or
sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
public UpdateEnvironmentRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Configures the maintenance window that you want for the runtime environment. The maintenance window must have the
format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two examples are valid
maintenance windows: sun:23:45-mon:00:15
or sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
preferredMaintenanceWindow
- Configures the maintenance window that you want for the runtime environment. The maintenance window must
have the format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. The following two
examples are valid maintenance windows: sun:23:45-mon:00:15
or
sat:01:00-sat:03:00
.
If you do not provide a value, a random system-generated value will be assigned.
public String toString()
toString
in class Object
Object.toString()
public UpdateEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()