@Generated(value="software.amazon.awssdk:codegen") public class MaintenanceWindowTarget extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.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 of the target.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
String |
name()
The target name.
|
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.
|
String |
resourceTypeString()
The type of target.
|
static Class<? extends MaintenanceWindowTarget.Builder> |
serializableBuilderClass() |
List<Target> |
targets()
The targets (either instances or tags).
|
MaintenanceWindowTarget.Builder |
toBuilder() |
String |
toString() |
String |
windowId()
The Maintenance Window ID where the target is registered.
|
String |
windowTargetId()
The ID of the target.
|
public String windowId()
The Maintenance Window ID where the target is registered.
public String windowTargetId()
The ID of the target.
public MaintenanceWindowResourceType resourceType()
The type of target.
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 resourceTypeString().
MaintenanceWindowResourceTypepublic String resourceTypeString()
The type of target.
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 resourceTypeString().
MaintenanceWindowResourceTypepublic List<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>.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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()
The target name.
public String description()
A description of the target.
public MaintenanceWindowTarget.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<MaintenanceWindowTarget.Builder,MaintenanceWindowTarget>public static MaintenanceWindowTarget.Builder builder()
public static Class<? extends MaintenanceWindowTarget.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.