@Generated(value="software.amazon.awssdk:codegen") public final class RegisterTargetWithMaintenanceWindowRequest extends SsmRequest implements ToCopyableBuilder<RegisterTargetWithMaintenanceWindowRequest.Builder,RegisterTargetWithMaintenanceWindowRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterTargetWithMaintenanceWindowRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RegisterTargetWithMaintenanceWindowRequest.Builder |
builder() |
String |
clientToken()
User-provided idempotency token.
|
String |
description()
An optional description for the target.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
An optional name for the target.
|
String |
ownerInformation()
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets
in this Maintenance Window.
|
MaintenanceWindowResourceType |
resourceType()
The type of target being registered with the Maintenance Window.
|
String |
resourceTypeAsString()
The type of target being registered with the Maintenance Window.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegisterTargetWithMaintenanceWindowRequest.Builder> |
serializableBuilderClass() |
List<Target> |
targets()
The targets (either instances or tags).
|
RegisterTargetWithMaintenanceWindowRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
windowId()
The ID of the Maintenance Window the target should be registered with.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String windowId()
The ID of the Maintenance Window the target should be registered with.
public MaintenanceWindowResourceType resourceType()
The type of target being registered with the Maintenance Window.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return MaintenanceWindowResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from resourceTypeAsString().
MaintenanceWindowResourceTypepublic String resourceTypeAsString()
The type of target being registered with the Maintenance Window.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return MaintenanceWindowResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from resourceTypeAsString().
MaintenanceWindowResourceTypepublic List<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>
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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 String 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 name()
An optional name for the target.
public String description()
An optional description for the target.
public String clientToken()
User-provided idempotency token.
public RegisterTargetWithMaintenanceWindowRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegisterTargetWithMaintenanceWindowRequest.Builder,RegisterTargetWithMaintenanceWindowRequest>toBuilder in class SsmRequestpublic static RegisterTargetWithMaintenanceWindowRequest.Builder builder()
public static Class<? extends RegisterTargetWithMaintenanceWindowRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.