@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterTargetWithMaintenanceWindowRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RegisterTargetWithMaintenanceWindowRequest() |
| Modifier and Type | Method and Description |
|---|---|
RegisterTargetWithMaintenanceWindowRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
User-provided idempotency token.
|
String |
getDescription()
An optional description for the target.
|
String |
getName()
An optional name for the target.
|
String |
getOwnerInformation()
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets
in this Maintenance Window.
|
String |
getResourceType()
The type of target being registered with the Maintenance Window.
|
List<Target> |
getTargets()
The targets (either instances or tags).
|
String |
getWindowId()
The ID of the Maintenance Window the target should be registered with.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
User-provided idempotency token.
|
void |
setDescription(String description)
An optional description for the target.
|
void |
setName(String name)
An optional name for the target.
|
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 |
setResourceType(MaintenanceWindowResourceType resourceType)
The type of target being registered with the Maintenance Window.
|
void |
setResourceType(String resourceType)
The type of target being registered with the Maintenance Window.
|
void |
setTargets(Collection<Target> targets)
The targets (either instances or tags).
|
void |
setWindowId(String windowId)
The ID of the Maintenance Window the target should be registered with.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RegisterTargetWithMaintenanceWindowRequest |
withClientToken(String clientToken)
User-provided idempotency token.
|
RegisterTargetWithMaintenanceWindowRequest |
withDescription(String description)
An optional description for the target.
|
RegisterTargetWithMaintenanceWindowRequest |
withName(String name)
An optional name for the target.
|
RegisterTargetWithMaintenanceWindowRequest |
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.
|
RegisterTargetWithMaintenanceWindowRequest |
withResourceType(MaintenanceWindowResourceType resourceType)
The type of target being registered with the Maintenance Window.
|
RegisterTargetWithMaintenanceWindowRequest |
withResourceType(String resourceType)
The type of target being registered with the Maintenance Window.
|
RegisterTargetWithMaintenanceWindowRequest |
withTargets(Collection<Target> targets)
The targets (either instances or tags).
|
RegisterTargetWithMaintenanceWindowRequest |
withTargets(Target... targets)
The targets (either instances or tags).
|
RegisterTargetWithMaintenanceWindowRequest |
withWindowId(String windowId)
The ID of the Maintenance Window the target should be registered with.
|
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 RegisterTargetWithMaintenanceWindowRequest()
public void setWindowId(String windowId)
The ID of the Maintenance Window the target should be registered with.
windowId - The ID of the Maintenance Window the target should be registered with.public String getWindowId()
The ID of the Maintenance Window the target should be registered with.
public RegisterTargetWithMaintenanceWindowRequest withWindowId(String windowId)
The ID of the Maintenance Window the target should be registered with.
windowId - The ID of the Maintenance Window the target should be registered with.public void setResourceType(String resourceType)
The type of target being registered with the Maintenance Window.
resourceType - The type of target being registered with the Maintenance Window.MaintenanceWindowResourceTypepublic String getResourceType()
The type of target being registered with the Maintenance Window.
MaintenanceWindowResourceTypepublic RegisterTargetWithMaintenanceWindowRequest withResourceType(String resourceType)
The type of target being registered with the Maintenance Window.
resourceType - The type of target being registered with the Maintenance Window.MaintenanceWindowResourceTypepublic void setResourceType(MaintenanceWindowResourceType resourceType)
The type of target being registered with the Maintenance Window.
resourceType - The type of target being registered with the Maintenance Window.MaintenanceWindowResourceTypepublic RegisterTargetWithMaintenanceWindowRequest withResourceType(MaintenanceWindowResourceType resourceType)
The type of target being registered with the Maintenance Window.
resourceType - The type of target being registered with the Maintenance Window.MaintenanceWindowResourceTypepublic List<Target> getTargets()
The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
public void setTargets(Collection<Target> targets)
The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
targets - The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
public RegisterTargetWithMaintenanceWindowRequest withTargets(Target... targets)
The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
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 (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
public RegisterTargetWithMaintenanceWindowRequest withTargets(Collection<Target> targets)
The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
targets - The targets (either instances or tags).
Specify instances using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify tags using either of the following formats:
Key=tag:<tag-key>,Values=<tag-value-1>,<tag-value-2>
Key=tag-key,Values=<tag-key-1>,<tag-key-2>
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 RegisterTargetWithMaintenanceWindowRequest 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)
An optional name for the target.
name - An optional name for the target.public String getName()
An optional name for the target.
public RegisterTargetWithMaintenanceWindowRequest withName(String name)
An optional name for the target.
name - An optional name for the target.public void setDescription(String description)
An optional description for the target.
description - An optional description for the target.public String getDescription()
An optional description for the target.
public RegisterTargetWithMaintenanceWindowRequest withDescription(String description)
An optional description for the target.
description - An optional description for the target.public void setClientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.public String getClientToken()
User-provided idempotency token.
public RegisterTargetWithMaintenanceWindowRequest withClientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.public String toString()
toString in class ObjectObject.toString()public RegisterTargetWithMaintenanceWindowRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.