@Generated(value="software.amazon.awssdk:codegen") public final class OrganizationEventFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrganizationEventFilter.Builder,OrganizationEventFilter>
The values to filter results from the DescribeEventsForOrganization operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OrganizationEventFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
awsAccountIds()
A list of 12-digit AWS account numbers that contains the affected entities.
|
static OrganizationEventFilter.Builder |
builder() |
DateTimeRange |
endTime()
Returns the value of the EndTime property for this object.
|
List<String> |
entityArns()
A list of entity ARNs (unique identifiers).
|
List<String> |
entityValues()
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<EventStatusCode> |
eventStatusCodes()
A list of event status codes.
|
List<String> |
eventStatusCodesAsStrings()
A list of event status codes.
|
List<EventTypeCategory> |
eventTypeCategories()
A list of event type category codes (issue, scheduledChange, or accountNotification).
|
List<String> |
eventTypeCategoriesAsStrings()
A list of event type category codes (issue, scheduledChange, or accountNotification).
|
List<String> |
eventTypeCodes()
A list of unique identifiers for event types.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAwsAccountIds()
Returns true if the AwsAccountIds 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 |
hasEntityArns()
Returns true if the EntityArns 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 |
hasEntityValues()
Returns true if the EntityValues 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 |
hasEventStatusCodes()
Returns true if the EventStatusCodes 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 |
hasEventTypeCategories()
Returns true if the EventTypeCategories 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 |
hasEventTypeCodes()
Returns true if the EventTypeCodes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRegions()
Returns true if the Regions 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 |
hasServices()
Returns true if the Services property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
DateTimeRange |
lastUpdatedTime()
Returns the value of the LastUpdatedTime property for this object.
|
List<String> |
regions()
A list of AWS Regions.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OrganizationEventFilter.Builder> |
serializableBuilderClass() |
List<String> |
services()
The AWS services associated with the event.
|
DateTimeRange |
startTime()
Returns the value of the StartTime property for this object.
|
OrganizationEventFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasEventTypeCodes()
public List<String> eventTypeCodes()
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventTypeCodes() to see if a value was sent in this field.
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".public boolean hasAwsAccountIds()
public List<String> awsAccountIds()
A list of 12-digit AWS account numbers that contains the affected entities.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAwsAccountIds() to see if a value was sent in this field.
public boolean hasServices()
public List<String> services()
The AWS services associated with the event. For example, EC2, RDS.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasServices() to see if a value was sent in this field.
EC2, RDS.public boolean hasRegions()
public List<String> regions()
A list of AWS Regions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRegions() to see if a value was sent in this field.
public DateTimeRange startTime()
public DateTimeRange endTime()
public DateTimeRange lastUpdatedTime()
public boolean hasEntityArns()
public List<String> entityArns()
A list of entity ARNs (unique identifiers).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEntityArns() to see if a value was sent in this field.
public boolean hasEntityValues()
public List<String> entityValues()
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEntityValues() to see if a value was sent in this field.
public List<EventTypeCategory> eventTypeCategories()
A list of event type category codes (issue, scheduledChange, or accountNotification).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventTypeCategories() to see if a value was sent in this field.
public boolean hasEventTypeCategories()
public List<String> eventTypeCategoriesAsStrings()
A list of event type category codes (issue, scheduledChange, or accountNotification).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventTypeCategories() to see if a value was sent in this field.
public List<EventStatusCode> eventStatusCodes()
A list of event status codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventStatusCodes() to see if a value was sent in this field.
public boolean hasEventStatusCodes()
public List<String> eventStatusCodesAsStrings()
A list of event status codes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEventStatusCodes() to see if a value was sent in this field.
public OrganizationEventFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OrganizationEventFilter.Builder,OrganizationEventFilter>public static OrganizationEventFilter.Builder builder()
public static Class<? extends OrganizationEventFilter.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.