@Generated(value="software.amazon.awssdk:codegen") public final class UpdateMaintenanceWindowTargetRequest extends SsmRequest implements ToCopyableBuilder<UpdateMaintenanceWindowTargetRequest.Builder,UpdateMaintenanceWindowTargetRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateMaintenanceWindowTargetRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateMaintenanceWindowTargetRequest.Builder |
builder() |
String |
description()
An optional description for the update.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTargets()
Returns true if the Targets property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
name()
A name for the update.
|
String |
ownerInformation()
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets
in this maintenance window.
|
Boolean |
replace()
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required
for this API request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateMaintenanceWindowTargetRequest.Builder> |
serializableBuilderClass() |
List<Target> |
targets()
The targets to add or replace.
|
UpdateMaintenanceWindowTargetRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
windowId()
The maintenance window ID with which to modify the target.
|
String |
windowTargetId()
The target ID to modify.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String windowId()
The maintenance window ID with which to modify the target.
public String windowTargetId()
The target ID to modify.
public boolean hasTargets()
public List<Target> targets()
The targets to add or replace.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargets() to see if a value was sent in this field.
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()
A name for the update.
public String description()
An optional description for the update.
public 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.
public UpdateMaintenanceWindowTargetRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateMaintenanceWindowTargetRequest.Builder,UpdateMaintenanceWindowTargetRequest>toBuilder in class SsmRequestpublic static UpdateMaintenanceWindowTargetRequest.Builder builder()
public static Class<? extends UpdateMaintenanceWindowTargetRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.