@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 AWS account numbers that contains the affected entities.
|
DateTimeRange |
getEndTime() |
List<String> |
getEntityArns()
REPLACEME
|
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()
REPLACEME
|
List<String> |
getEventTypeCodes()
A list of unique identifiers for event types.
|
DateTimeRange |
getLastUpdatedTime() |
List<String> |
getRegions()
A list of AWS Regions.
|
List<String> |
getServices()
The AWS services associated with the event.
|
DateTimeRange |
getStartTime() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAwsAccountIds(Collection<String> awsAccountIds)
A list of 12-digit AWS account numbers that contains the affected entities.
|
void |
setEndTime(DateTimeRange endTime) |
void |
setEntityArns(Collection<String> entityArns)
REPLACEME
|
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)
REPLACEME
|
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 AWS Regions.
|
void |
setServices(Collection<String> services)
The AWS 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 AWS account numbers that contains the affected entities.
|
OrganizationEventFilter |
withAwsAccountIds(String... awsAccountIds)
A list of 12-digit AWS account numbers that contains the affected entities.
|
OrganizationEventFilter |
withEndTime(DateTimeRange endTime) |
OrganizationEventFilter |
withEntityArns(Collection<String> entityArns)
REPLACEME
|
OrganizationEventFilter |
withEntityArns(String... entityArns)
REPLACEME
|
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)
REPLACEME
|
OrganizationEventFilter |
withEventTypeCategories(EventTypeCategory... eventTypeCategories)
REPLACEME
|
OrganizationEventFilter |
withEventTypeCategories(String... eventTypeCategories)
REPLACEME
|
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 AWS Regions.
|
OrganizationEventFilter |
withRegions(String... regions)
A list of AWS Regions.
|
OrganizationEventFilter |
withServices(Collection<String> services)
The AWS services associated with the event.
|
OrganizationEventFilter |
withServices(String... services)
The AWS 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 AWS account numbers that contains the affected entities.
public void setAwsAccountIds(Collection<String> awsAccountIds)
A list of 12-digit AWS account numbers that contains the affected entities.
awsAccountIds - A list of 12-digit AWS account numbers that contains the affected entities.public OrganizationEventFilter withAwsAccountIds(String... awsAccountIds)
A list of 12-digit AWS 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 AWS account numbers that contains the affected entities.public OrganizationEventFilter withAwsAccountIds(Collection<String> awsAccountIds)
A list of 12-digit AWS account numbers that contains the affected entities.
awsAccountIds - A list of 12-digit AWS account numbers that contains the affected entities.public List<String> getServices()
The AWS services associated with the event. For example, EC2, RDS.
EC2, RDS.public void setServices(Collection<String> services)
The AWS services associated with the event. For example, EC2, RDS.
services - The AWS services associated with the event. For example, EC2, RDS.public OrganizationEventFilter withServices(String... services)
The AWS 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 AWS services associated with the event. For example, EC2, RDS.public OrganizationEventFilter withServices(Collection<String> services)
The AWS services associated with the event. For example, EC2, RDS.
services - The AWS services associated with the event. For example, EC2, RDS.public void setRegions(Collection<String> regions)
A list of AWS Regions.
regions - A list of AWS Regions.public OrganizationEventFilter withRegions(String... regions)
A list of AWS 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 AWS Regions.public OrganizationEventFilter withRegions(Collection<String> regions)
A list of AWS Regions.
regions - A list of AWS 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 void setEntityArns(Collection<String> entityArns)
REPLACEME
entityArns - REPLACEMEpublic OrganizationEventFilter withEntityArns(String... entityArns)
REPLACEME
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 - REPLACEMEpublic OrganizationEventFilter withEntityArns(Collection<String> entityArns)
REPLACEME
entityArns - REPLACEMEpublic 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()
REPLACEME
EventTypeCategorypublic void setEventTypeCategories(Collection<String> eventTypeCategories)
REPLACEME
eventTypeCategories - REPLACEMEEventTypeCategorypublic OrganizationEventFilter withEventTypeCategories(String... eventTypeCategories)
REPLACEME
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 - REPLACEMEEventTypeCategorypublic OrganizationEventFilter withEventTypeCategories(Collection<String> eventTypeCategories)
REPLACEME
eventTypeCategories - REPLACEMEEventTypeCategorypublic OrganizationEventFilter withEventTypeCategories(EventTypeCategory... eventTypeCategories)
REPLACEME
eventTypeCategories - REPLACEMEEventTypeCategorypublic List<String> getEventStatusCodes()
A list of event status codes.
EventStatusCodepublic void setEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventStatusCodepublic 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.EventStatusCodepublic OrganizationEventFilter withEventStatusCodes(Collection<String> eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventStatusCodepublic OrganizationEventFilter withEventStatusCodes(EventStatusCode... eventStatusCodes)
A list of event status codes.
eventStatusCodes - A list of event status codes.EventStatusCodepublic String toString()
toString in class ObjectObject.toString()public OrganizationEventFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.