Interface EventFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EventFilter.Builder,EventFilter>, SdkBuilder<EventFilter.Builder,EventFilter>, SdkPojo
Enclosing class:
EventFilter

public static interface EventFilter.Builder extends SdkPojo, CopyableBuilder<EventFilter.Builder,EventFilter>
  • Method Details

    • eventArns

      EventFilter.Builder eventArns(Collection<String> eventArns)

      A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"

      Parameters:
      eventArns - A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventArns

      EventFilter.Builder eventArns(String... eventArns)

      A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"

      Parameters:
      eventArns - A list of event ARNs (unique identifiers). For example: "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101"
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTypeCodes

      EventFilter.Builder eventTypeCodes(Collection<String> eventTypeCodes)

      A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".

      Parameters:
      eventTypeCodes - A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTypeCodes

      EventFilter.Builder eventTypeCodes(String... eventTypeCodes)

      A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".

      Parameters:
      eventTypeCodes - A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • services

      EventFilter.Builder services(Collection<String> services)

      The Amazon Web Services associated with the event. For example, EC2, RDS.

      Parameters:
      services - The Amazon Web Services associated with the event. For example, EC2, RDS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • services

      EventFilter.Builder services(String... services)

      The Amazon Web Services associated with the event. For example, EC2, RDS.

      Parameters:
      services - The Amazon Web Services associated with the event. For example, EC2, RDS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regions

      A list of Amazon Web Services Regions.

      Parameters:
      regions - A list of Amazon Web Services Regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regions

      EventFilter.Builder regions(String... regions)

      A list of Amazon Web Services Regions.

      Parameters:
      regions - A list of Amazon Web Services Regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZones

      EventFilter.Builder availabilityZones(Collection<String> availabilityZones)

      A list of Amazon Web Services Availability Zones.

      Parameters:
      availabilityZones - A list of Amazon Web Services Availability Zones.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZones

      EventFilter.Builder availabilityZones(String... availabilityZones)

      A list of Amazon Web Services Availability Zones.

      Parameters:
      availabilityZones - A list of Amazon Web Services Availability Zones.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimes

      EventFilter.Builder startTimes(Collection<DateTimeRange> startTimes)

      A list of dates and times that the event began.

      Parameters:
      startTimes - A list of dates and times that the event began.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimes

      EventFilter.Builder startTimes(DateTimeRange... startTimes)

      A list of dates and times that the event began.

      Parameters:
      startTimes - A list of dates and times that the event began.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimes

      A list of dates and times that the event began.

      This is a convenience method that creates an instance of the DateTimeRange.Builder avoiding the need to create one manually via DateTimeRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to startTimes(List<DateTimeRange>).

      Parameters:
      startTimes - a consumer that will call methods on DateTimeRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • endTimes

      A list of dates and times that the event ended.

      Parameters:
      endTimes - A list of dates and times that the event ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTimes

      EventFilter.Builder endTimes(DateTimeRange... endTimes)

      A list of dates and times that the event ended.

      Parameters:
      endTimes - A list of dates and times that the event ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTimes

      A list of dates and times that the event ended.

      This is a convenience method that creates an instance of the DateTimeRange.Builder avoiding the need to create one manually via DateTimeRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to endTimes(List<DateTimeRange>).

      Parameters:
      endTimes - a consumer that will call methods on DateTimeRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdatedTimes

      EventFilter.Builder lastUpdatedTimes(Collection<DateTimeRange> lastUpdatedTimes)

      A list of dates and times that the event was last updated.

      Parameters:
      lastUpdatedTimes - A list of dates and times that the event was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTimes

      EventFilter.Builder lastUpdatedTimes(DateTimeRange... lastUpdatedTimes)

      A list of dates and times that the event was last updated.

      Parameters:
      lastUpdatedTimes - A list of dates and times that the event was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTimes

      EventFilter.Builder lastUpdatedTimes(Consumer<DateTimeRange.Builder>... lastUpdatedTimes)

      A list of dates and times that the event was last updated.

      This is a convenience method that creates an instance of the DateTimeRange.Builder avoiding the need to create one manually via DateTimeRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lastUpdatedTimes(List<DateTimeRange>).

      Parameters:
      lastUpdatedTimes - a consumer that will call methods on DateTimeRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • entityArns

      EventFilter.Builder entityArns(Collection<String> entityArns)

      A list of entity ARNs (unique identifiers).

      Parameters:
      entityArns - A list of entity ARNs (unique identifiers).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityArns

      EventFilter.Builder entityArns(String... entityArns)

      A list of entity ARNs (unique identifiers).

      Parameters:
      entityArns - A list of entity ARNs (unique identifiers).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityValues

      EventFilter.Builder entityValues(Collection<String> entityValues)

      A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes ( vol-426ab23e).

      Parameters:
      entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes ( vol-426ab23e).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityValues

      EventFilter.Builder entityValues(String... entityValues)

      A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes ( vol-426ab23e).

      Parameters:
      entityValues - A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes ( vol-426ab23e).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTypeCategoriesWithStrings

      EventFilter.Builder eventTypeCategoriesWithStrings(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTypeCategoriesWithStrings

      EventFilter.Builder eventTypeCategoriesWithStrings(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTypeCategories

      EventFilter.Builder eventTypeCategories(Collection<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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventTypeCategories

      EventFilter.Builder eventTypeCategories(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A map of entity tags attached to the affected entity.

      Currently, the tags property isn't supported.

      Parameters:
      tags - A map of entity tags attached to the affected entity.

      Currently, the tags property isn't supported.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A map of entity tags attached to the affected entity.

      Currently, the tags property isn't supported.

      Parameters:
      tags - A map of entity tags attached to the affected entity.

      Currently, the tags property isn't supported.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventStatusCodesWithStrings

      EventFilter.Builder eventStatusCodesWithStrings(Collection<String> eventStatusCodes)

      A list of event status codes.

      Parameters:
      eventStatusCodes - A list of event status codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventStatusCodesWithStrings

      EventFilter.Builder eventStatusCodesWithStrings(String... eventStatusCodes)

      A list of event status codes.

      Parameters:
      eventStatusCodes - A list of event status codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventStatusCodes

      EventFilter.Builder eventStatusCodes(Collection<EventStatusCode> eventStatusCodes)

      A list of event status codes.

      Parameters:
      eventStatusCodes - A list of event status codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventStatusCodes

      EventFilter.Builder eventStatusCodes(EventStatusCode... eventStatusCodes)

      A list of event status codes.

      Parameters:
      eventStatusCodes - A list of event status codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.