@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrganizationEventFilter extends Object implements Serializable, Cloneable, StructuredPojo
The values to filter results from the DescribeEventsForOrganization operation.
Constructor and Description |
---|
OrganizationEventFilter() |
Modifier and Type | Method and Description |
---|---|
OrganizationEventFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAwsAccountIds()
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
|
DateTimeRange |
getEndTime() |
List<String> |
getEntityArns()
A list of entity ARNs (unique identifiers).
|
List<String> |
getEntityValues()
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
|
List<String> |
getEventStatusCodes()
A list of event status codes.
|
List<String> |
getEventTypeCategories()
A list of event type category codes.
|
List<String> |
getEventTypeCodes()
A list of unique identifiers for event types.
|
DateTimeRange |
getLastUpdatedTime() |
List<String> |
getRegions()
A list of Amazon Web Services Regions.
|
List<String> |
getServices()
The Amazon Web Services associated with the event.
|
DateTimeRange |
getStartTime() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsAccountIds(Collection<String> awsAccountIds)
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
|
void |
setEndTime(DateTimeRange endTime) |
void |
setEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
void |
setEntityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
|
void |
setEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
|
void |
setEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes.
|
void |
setEventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types.
|
void |
setLastUpdatedTime(DateTimeRange lastUpdatedTime) |
void |
setRegions(Collection<String> regions)
A list of Amazon Web Services Regions.
|
void |
setServices(Collection<String> services)
The Amazon Web Services associated with the event.
|
void |
setStartTime(DateTimeRange startTime) |
String |
toString()
Returns a string representation of this object.
|
OrganizationEventFilter |
withAwsAccountIds(Collection<String> awsAccountIds)
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
|
OrganizationEventFilter |
withAwsAccountIds(String... awsAccountIds)
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
|
OrganizationEventFilter |
withEndTime(DateTimeRange endTime) |
OrganizationEventFilter |
withEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
|
OrganizationEventFilter |
withEntityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
|
OrganizationEventFilter |
withEntityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
|
OrganizationEventFilter |
withEntityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
|
OrganizationEventFilter |
withEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
|
OrganizationEventFilter |
withEventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
|
OrganizationEventFilter |
withEventStatusCodes(String... eventStatusCodes)
A list of event status codes.
|
OrganizationEventFilter |
withEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes.
|
OrganizationEventFilter |
withEventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes.
|
OrganizationEventFilter |
withEventTypeCategories(String... eventTypeCategories)
A list of event type category codes.
|
OrganizationEventFilter |
withEventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types.
|
OrganizationEventFilter |
withEventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types.
|
OrganizationEventFilter |
withLastUpdatedTime(DateTimeRange lastUpdatedTime) |
OrganizationEventFilter |
withRegions(Collection<String> regions)
A list of Amazon Web Services Regions.
|
OrganizationEventFilter |
withRegions(String... regions)
A list of Amazon Web Services Regions.
|
OrganizationEventFilter |
withServices(Collection<String> services)
The Amazon Web Services associated with the event.
|
OrganizationEventFilter |
withServices(String... services)
The Amazon Web Services associated with the event.
|
OrganizationEventFilter |
withStartTime(DateTimeRange startTime) |
public List<String> getEventTypeCodes()
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
public void setEventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
eventTypeCodes
- A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
public OrganizationEventFilter withEventTypeCodes(String... eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
NOTE: This method appends the values to the existing list (if any). Use
setEventTypeCodes(java.util.Collection)
or withEventTypeCodes(java.util.Collection)
if you want
to override the existing values.
eventTypeCodes
- A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
public OrganizationEventFilter withEventTypeCodes(Collection<String> eventTypeCodes)
A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
eventTypeCodes
- A list of unique identifiers for event types. For example,
"AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
public List<String> getAwsAccountIds()
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
public void setAwsAccountIds(Collection<String> awsAccountIds)
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
awsAccountIds
- A list of 12-digit Amazon Web Services account numbers that contains the affected entities.public OrganizationEventFilter withAwsAccountIds(String... awsAccountIds)
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
NOTE: This method appends the values to the existing list (if any). Use
setAwsAccountIds(java.util.Collection)
or withAwsAccountIds(java.util.Collection)
if you want
to override the existing values.
awsAccountIds
- A list of 12-digit Amazon Web Services account numbers that contains the affected entities.public OrganizationEventFilter withAwsAccountIds(Collection<String> awsAccountIds)
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
awsAccountIds
- A list of 12-digit Amazon Web Services account numbers that contains the affected entities.public List<String> getServices()
The Amazon Web Services associated with the event. For example, EC2
, RDS
.
EC2
, RDS
.public void setServices(Collection<String> services)
The Amazon Web Services associated with the event. For example, EC2
, RDS
.
services
- The Amazon Web Services associated with the event. For example, EC2
, RDS
.public OrganizationEventFilter withServices(String... services)
The Amazon Web Services associated with the event. For example, EC2
, RDS
.
NOTE: This method appends the values to the existing list (if any). Use
setServices(java.util.Collection)
or withServices(java.util.Collection)
if you want to override
the existing values.
services
- The Amazon Web Services associated with the event. For example, EC2
, RDS
.public OrganizationEventFilter withServices(Collection<String> services)
The Amazon Web Services associated with the event. For example, EC2
, RDS
.
services
- The Amazon Web Services associated with the event. For example, EC2
, RDS
.public List<String> getRegions()
A list of Amazon Web Services Regions.
public void setRegions(Collection<String> regions)
A list of Amazon Web Services Regions.
regions
- A list of Amazon Web Services Regions.public OrganizationEventFilter withRegions(String... regions)
A list of Amazon Web Services Regions.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- A list of Amazon Web Services Regions.public OrganizationEventFilter withRegions(Collection<String> regions)
A list of Amazon Web Services Regions.
regions
- A list of Amazon Web Services Regions.public void setStartTime(DateTimeRange startTime)
startTime
- public DateTimeRange getStartTime()
public OrganizationEventFilter withStartTime(DateTimeRange startTime)
startTime
- public void setEndTime(DateTimeRange endTime)
endTime
- public DateTimeRange getEndTime()
public OrganizationEventFilter withEndTime(DateTimeRange endTime)
endTime
- public void setLastUpdatedTime(DateTimeRange lastUpdatedTime)
lastUpdatedTime
- public DateTimeRange getLastUpdatedTime()
public OrganizationEventFilter withLastUpdatedTime(DateTimeRange lastUpdatedTime)
lastUpdatedTime
- public List<String> getEntityArns()
A list of entity ARNs (unique identifiers).
public void setEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
entityArns
- A list of entity ARNs (unique identifiers).public OrganizationEventFilter withEntityArns(String... entityArns)
A list of entity ARNs (unique identifiers).
NOTE: This method appends the values to the existing list (if any). Use
setEntityArns(java.util.Collection)
or withEntityArns(java.util.Collection)
if you want to
override the existing values.
entityArns
- A list of entity ARNs (unique identifiers).public OrganizationEventFilter withEntityArns(Collection<String> entityArns)
A list of entity ARNs (unique identifiers).
entityArns
- A list of entity ARNs (unique identifiers).public List<String> getEntityValues()
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
public void setEntityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
entityValues
- A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).public OrganizationEventFilter withEntityValues(String... entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
NOTE: This method appends the values to the existing list (if any). Use
setEntityValues(java.util.Collection)
or withEntityValues(java.util.Collection)
if you want to
override the existing values.
entityValues
- A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).public OrganizationEventFilter withEntityValues(Collection<String> entityValues)
A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).
entityValues
- A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).public List<String> getEventTypeCategories()
A list of event type category codes. Possible values are issue
, accountNotification
, or
scheduledChange
. Currently, the investigation
value isn't supported at this time.
issue
,
accountNotification
, or scheduledChange
. Currently, the
investigation
value isn't supported at this time.EventTypeCategory
public void setEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes. Possible values are issue
, accountNotification
, or
scheduledChange
. Currently, the investigation
value isn't supported at this time.
eventTypeCategories
- A list of event type category codes. Possible values are issue
,
accountNotification
, or scheduledChange
. Currently, the
investigation
value isn't supported at this time.EventTypeCategory
public OrganizationEventFilter withEventTypeCategories(String... eventTypeCategories)
A list of event type category codes. Possible values are issue
, accountNotification
, or
scheduledChange
. Currently, the investigation
value isn't supported at this time.
NOTE: This method appends the values to the existing list (if any). Use
setEventTypeCategories(java.util.Collection)
or withEventTypeCategories(java.util.Collection)
if you want to override the existing values.
eventTypeCategories
- A list of event type category codes. Possible values are issue
,
accountNotification
, or scheduledChange
. Currently, the
investigation
value isn't supported at this time.EventTypeCategory
public OrganizationEventFilter withEventTypeCategories(Collection<String> eventTypeCategories)
A list of event type category codes. Possible values are issue
, accountNotification
, or
scheduledChange
. Currently, the investigation
value isn't supported at this time.
eventTypeCategories
- A list of event type category codes. Possible values are issue
,
accountNotification
, or scheduledChange
. Currently, the
investigation
value isn't supported at this time.EventTypeCategory
public OrganizationEventFilter withEventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes. Possible values are issue
, accountNotification
, or
scheduledChange
. Currently, the investigation
value isn't supported at this time.
eventTypeCategories
- A list of event type category codes. Possible values are issue
,
accountNotification
, or scheduledChange
. Currently, the
investigation
value isn't supported at this time.EventTypeCategory
public List<String> getEventStatusCodes()
A list of event status codes.
EventStatusCode
public void setEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes
- A list of event status codes.EventStatusCode
public OrganizationEventFilter withEventStatusCodes(String... eventStatusCodes)
A list of event status codes.
NOTE: This method appends the values to the existing list (if any). Use
setEventStatusCodes(java.util.Collection)
or withEventStatusCodes(java.util.Collection)
if you
want to override the existing values.
eventStatusCodes
- A list of event status codes.EventStatusCode
public OrganizationEventFilter withEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes
- A list of event status codes.EventStatusCode
public OrganizationEventFilter withEventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
eventStatusCodes
- A list of event status codes.EventStatusCode
public String toString()
toString
in class Object
Object.toString()
public OrganizationEventFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.