@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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.MaintenanceWindowResourceType
public String getResourceType()
The type of target being registered with the Maintenance Window.
MaintenanceWindowResourceType
public 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.MaintenanceWindowResourceType
public 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.MaintenanceWindowResourceType
public 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.MaintenanceWindowResourceType
public List<Target> getTargets()
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
public void setTargets(Collection<Target> targets)
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
targets
- The targets (either instances or tags). Instances are specified using
Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag
name>,Values=<tag value>.public RegisterTargetWithMaintenanceWindowRequest withTargets(Target... targets)
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
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). Instances are specified using
Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag
name>,Values=<tag value>.public RegisterTargetWithMaintenanceWindowRequest withTargets(Collection<Target> targets)
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
targets
- The targets (either instances or tags). Instances are specified using
Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag
name>,Values=<tag value>.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 Object
Object.toString()
public RegisterTargetWithMaintenanceWindowRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.