@Generated(value="software.amazon.awssdk:codegen") public final class MaintenanceWindowTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MaintenanceWindowTarget.Builder,MaintenanceWindowTarget>
The target registered with the Maintenance Window.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MaintenanceWindowTarget.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MaintenanceWindowTarget.Builder |
builder() |
String |
description()
A description for the target.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The target name.
|
String |
ownerInformation()
A user-provided value that will be included in any CloudWatch events that are raised while running tasks for
these targets in this Maintenance Window.
|
MaintenanceWindowResourceType |
resourceType()
The type of target that is being registered with the Maintenance Window.
|
String |
resourceTypeAsString()
The type of target that is being registered with the Maintenance Window.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MaintenanceWindowTarget.Builder> |
serializableBuilderClass() |
List<Target> |
targets()
The targets, either instances or tags.
|
MaintenanceWindowTarget.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
windowId()
The ID of the Maintenance Window to register the target with.
|
String |
windowTargetId()
The ID of the target.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String windowId()
The ID of the Maintenance Window to register the target with.
public String windowTargetId()
The ID of the target.
public MaintenanceWindowResourceType resourceType()
The type of target that is 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 that is 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=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Specify instances using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>.
public String ownerInformation()
A user-provided value that will be included in any CloudWatch events that are raised while running tasks for these targets in this Maintenance Window.
public String name()
The target name.
public String description()
A description for the target.
public MaintenanceWindowTarget.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MaintenanceWindowTarget.Builder,MaintenanceWindowTarget>public static MaintenanceWindowTarget.Builder builder()
public static Class<? extends MaintenanceWindowTarget.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.