@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplyPendingMaintenanceActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input to ApplyPendingMaintenanceAction.
NOOP
Constructor and Description |
---|
ApplyPendingMaintenanceActionRequest() |
Modifier and Type | Method and Description |
---|---|
ApplyPendingMaintenanceActionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplyAction()
The pending maintenance action to apply to this resource.
|
String |
getOptInType()
A value that specifies the type of opt-in request or undoes an opt-in request.
|
String |
getResourceIdentifier()
The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
|
int |
hashCode() |
void |
setApplyAction(String applyAction)
The pending maintenance action to apply to this resource.
|
void |
setOptInType(String optInType)
A value that specifies the type of opt-in request or undoes an opt-in request.
|
void |
setResourceIdentifier(String resourceIdentifier)
The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
|
String |
toString()
Returns a string representation of this object.
|
ApplyPendingMaintenanceActionRequest |
withApplyAction(String applyAction)
The pending maintenance action to apply to this resource.
|
ApplyPendingMaintenanceActionRequest |
withOptInType(String optInType)
A value that specifies the type of opt-in request or undoes an opt-in request.
|
ApplyPendingMaintenanceActionRequest |
withResourceIdentifier(String resourceIdentifier)
The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
|
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 ApplyPendingMaintenanceActionRequest()
public void setResourceIdentifier(String resourceIdentifier)
The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
resourceIdentifier
- The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.public String getResourceIdentifier()
The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
public ApplyPendingMaintenanceActionRequest withResourceIdentifier(String resourceIdentifier)
The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
resourceIdentifier
- The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.public void setApplyAction(String applyAction)
The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
applyAction
- The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
public String getApplyAction()
The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
Valid values: system-update
, db-upgrade
public ApplyPendingMaintenanceActionRequest withApplyAction(String applyAction)
The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
applyAction
- The pending maintenance action to apply to this resource.
Valid values: system-update
, db-upgrade
public void setOptInType(String optInType)
A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type
immediate
can't be undone.
Valid values:
immediate
- Apply the maintenance action immediately.
next-maintenance
- Apply the maintenance action during the next maintenance window for the resource.
undo-opt-in
- Cancel any existing next-maintenance
opt-in requests.
optInType
- A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type
immediate
can't be undone.
Valid values:
immediate
- Apply the maintenance action immediately.
next-maintenance
- Apply the maintenance action during the next maintenance window for the
resource.
undo-opt-in
- Cancel any existing next-maintenance
opt-in requests.
public String getOptInType()
A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type
immediate
can't be undone.
Valid values:
immediate
- Apply the maintenance action immediately.
next-maintenance
- Apply the maintenance action during the next maintenance window for the resource.
undo-opt-in
- Cancel any existing next-maintenance
opt-in requests.
immediate
can't be undone.
Valid values:
immediate
- Apply the maintenance action immediately.
next-maintenance
- Apply the maintenance action during the next maintenance window for the
resource.
undo-opt-in
- Cancel any existing next-maintenance
opt-in requests.
public ApplyPendingMaintenanceActionRequest withOptInType(String optInType)
A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type
immediate
can't be undone.
Valid values:
immediate
- Apply the maintenance action immediately.
next-maintenance
- Apply the maintenance action during the next maintenance window for the resource.
undo-opt-in
- Cancel any existing next-maintenance
opt-in requests.
optInType
- A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type
immediate
can't be undone.
Valid values:
immediate
- Apply the maintenance action immediately.
next-maintenance
- Apply the maintenance action during the next maintenance window for the
resource.
undo-opt-in
- Cancel any existing next-maintenance
opt-in requests.
public String toString()
toString
in class Object
Object.toString()
public ApplyPendingMaintenanceActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()