@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()
For responses, this returns true if the service returned a value for the Targets property.
|
String |
name()
A name for the update.
|
String |
ownerInformation()
User-provided value that will be included in any Amazon CloudWatch Events 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
operation 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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String windowId()
The maintenance window ID with which to modify the target.
public final String windowTargetId()
The target ID to modify.
public final boolean hasTargets()
isEmpty()
method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Target> targets()
The targets to add or replace.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargets()
method.
public final String ownerInformation()
User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.
public final String name()
A name for the update.
public final String description()
An optional description for the update.
public final Boolean replace()
If True
, then all fields that are required by the RegisterTargetWithMaintenanceWindow
operation are also required for this API request. Optional fields that aren't specified are set to null.
True
, then all fields that are required by the RegisterTargetWithMaintenanceWindow
operation are also required for this API request. Optional fields that aren't specified are set to null.public UpdateMaintenanceWindowTargetRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UpdateMaintenanceWindowTargetRequest.Builder,UpdateMaintenanceWindowTargetRequest>
toBuilder
in class SsmRequest
public static UpdateMaintenanceWindowTargetRequest.Builder builder()
public static Class<? extends UpdateMaintenanceWindowTargetRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.