@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMaintenanceWindowTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateMaintenanceWindowTargetRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateMaintenanceWindowTargetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
An optional description for the update.
|
String |
getName()
A name for the update.
|
String |
getOwnerInformation()
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets
in this Maintenance Window.
|
Boolean |
getReplace()
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required
for this API request.
|
List<Target> |
getTargets()
The targets to add or replace.
|
String |
getWindowId()
The Maintenance Window ID with which to modify the target.
|
String |
getWindowTargetId()
The target ID to modify.
|
int |
hashCode() |
Boolean |
isReplace()
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required
for this API request.
|
void |
setDescription(String description)
An optional description for the update.
|
void |
setName(String name)
A name for the update.
|
void |
setOwnerInformation(String ownerInformation)
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets
in this Maintenance Window.
|
void |
setReplace(Boolean replace)
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required
for this API request.
|
void |
setTargets(Collection<Target> targets)
The targets to add or replace.
|
void |
setWindowId(String windowId)
The Maintenance Window ID with which to modify the target.
|
void |
setWindowTargetId(String windowTargetId)
The target ID to modify.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateMaintenanceWindowTargetRequest |
withDescription(String description)
An optional description for the update.
|
UpdateMaintenanceWindowTargetRequest |
withName(String name)
A name for the update.
|
UpdateMaintenanceWindowTargetRequest |
withOwnerInformation(String ownerInformation)
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets
in this Maintenance Window.
|
UpdateMaintenanceWindowTargetRequest |
withReplace(Boolean replace)
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required
for this API request.
|
UpdateMaintenanceWindowTargetRequest |
withTargets(Collection<Target> targets)
The targets to add or replace.
|
UpdateMaintenanceWindowTargetRequest |
withTargets(Target... targets)
The targets to add or replace.
|
UpdateMaintenanceWindowTargetRequest |
withWindowId(String windowId)
The Maintenance Window ID with which to modify the target.
|
UpdateMaintenanceWindowTargetRequest |
withWindowTargetId(String windowTargetId)
The target ID to modify.
|
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 UpdateMaintenanceWindowTargetRequest()
public void setWindowId(String windowId)
The Maintenance Window ID with which to modify the target.
windowId
- The Maintenance Window ID with which to modify the target.public String getWindowId()
The Maintenance Window ID with which to modify the target.
public UpdateMaintenanceWindowTargetRequest withWindowId(String windowId)
The Maintenance Window ID with which to modify the target.
windowId
- The Maintenance Window ID with which to modify the target.public void setWindowTargetId(String windowTargetId)
The target ID to modify.
windowTargetId
- The target ID to modify.public String getWindowTargetId()
The target ID to modify.
public UpdateMaintenanceWindowTargetRequest withWindowTargetId(String windowTargetId)
The target ID to modify.
windowTargetId
- The target ID to modify.public List<Target> getTargets()
The targets to add or replace.
public void setTargets(Collection<Target> targets)
The targets to add or replace.
targets
- The targets to add or replace.public UpdateMaintenanceWindowTargetRequest withTargets(Target... targets)
The targets to add or replace.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The targets to add or replace.public UpdateMaintenanceWindowTargetRequest withTargets(Collection<Target> targets)
The targets to add or replace.
targets
- The targets to add or replace.public void setOwnerInformation(String ownerInformation)
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
ownerInformation
- User-provided value that will be included in any CloudWatch events raised while running tasks for these
targets in this Maintenance Window.public String getOwnerInformation()
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
public UpdateMaintenanceWindowTargetRequest withOwnerInformation(String ownerInformation)
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
ownerInformation
- User-provided value that will be included in any CloudWatch events raised while running tasks for these
targets in this Maintenance Window.public void setName(String name)
A name for the update.
name
- A name for the update.public String getName()
A name for the update.
public UpdateMaintenanceWindowTargetRequest withName(String name)
A name for the update.
name
- A name for the update.public void setDescription(String description)
An optional description for the update.
description
- An optional description for the update.public String getDescription()
An optional description for the update.
public UpdateMaintenanceWindowTargetRequest withDescription(String description)
An optional description for the update.
description
- An optional description for the update.public void setReplace(Boolean replace)
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also
required for this API request. Optional fields that are not specified are set to null.public Boolean getReplace()
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
public UpdateMaintenanceWindowTargetRequest withReplace(Boolean replace)
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also
required for this API request. Optional fields that are not specified are set to null.public Boolean isReplace()
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
public String toString()
toString
in class Object
Object.toString()
public UpdateMaintenanceWindowTargetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.