@Generated(value="software.amazon.awssdk:codegen") public final class InstanceEventWindow extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceEventWindow.Builder,InstanceEventWindow>
The event window.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceEventWindow.Builder |
| Modifier and Type | Method and Description |
|---|---|
InstanceEventWindowAssociationTarget |
associationTarget()
One or more targets associated with the event window.
|
static InstanceEventWindow.Builder |
builder() |
String |
cronExpression()
The cron expression defined for the event window.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasTimeRanges()
Returns true if the TimeRanges 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 |
instanceEventWindowId()
The ID of the event window.
|
String |
name()
The name of the event window.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceEventWindow.Builder> |
serializableBuilderClass() |
InstanceEventWindowState |
state()
The current state of the event window.
|
String |
stateAsString()
The current state of the event window.
|
List<Tag> |
tags()
The instance tags associated with the event window.
|
List<InstanceEventWindowTimeRange> |
timeRanges()
One or more time ranges defined for the event window.
|
InstanceEventWindow.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String instanceEventWindowId()
The ID of the event window.
public final boolean hasTimeRanges()
public final List<InstanceEventWindowTimeRange> timeRanges()
One or more time ranges defined for the event window.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTimeRanges() to see if a value was sent in this field.
public final String name()
The name of the event window.
public final String cronExpression()
The cron expression defined for the event window.
public final InstanceEventWindowAssociationTarget associationTarget()
One or more targets associated with the event window.
public final InstanceEventWindowState state()
The current state of the event window.
If the service returns an enum value that is not available in the current SDK version, state will return
InstanceEventWindowState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
InstanceEventWindowStatepublic final String stateAsString()
The current state of the event window.
If the service returns an enum value that is not available in the current SDK version, state will return
InstanceEventWindowState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
InstanceEventWindowStatepublic final boolean hasTags()
public final List<Tag> tags()
The instance tags associated with the event window.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public InstanceEventWindow.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceEventWindow.Builder,InstanceEventWindow>public static InstanceEventWindow.Builder builder()
public static Class<? extends InstanceEventWindow.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.