Interface OrganizationEventFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OrganizationEventFilter.Builder,OrganizationEventFilter>,SdkBuilder<OrganizationEventFilter.Builder,OrganizationEventFilter>,SdkPojo
- Enclosing class:
- OrganizationEventFilter
public static interface OrganizationEventFilter.Builder extends SdkPojo, CopyableBuilder<OrganizationEventFilter.Builder,OrganizationEventFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OrganizationEventFilter.BuilderawsAccountIds(String... awsAccountIds)A list of 12-digit Amazon Web Services account numbers that contains the affected entities.OrganizationEventFilter.BuilderawsAccountIds(Collection<String> awsAccountIds)A list of 12-digit Amazon Web Services account numbers that contains the affected entities.default OrganizationEventFilter.BuilderendTime(Consumer<DateTimeRange.Builder> endTime)Sets the value of the EndTime property for this object.OrganizationEventFilter.BuilderendTime(DateTimeRange endTime)Sets the value of the EndTime property for this object.OrganizationEventFilter.BuilderentityArns(String... entityArns)A list of entity ARNs (unique identifiers).OrganizationEventFilter.BuilderentityArns(Collection<String> entityArns)A list of entity ARNs (unique identifiers).OrganizationEventFilter.BuilderentityValues(String... entityValues)A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).OrganizationEventFilter.BuilderentityValues(Collection<String> entityValues)A list of entity identifiers, such as EC2 instance IDs (i-34ab692e) or EBS volumes (vol-426ab23e).OrganizationEventFilter.BuildereventStatusCodes(Collection<EventStatusCode> eventStatusCodes)A list of event status codes.OrganizationEventFilter.BuildereventStatusCodes(EventStatusCode... eventStatusCodes)A list of event status codes.OrganizationEventFilter.BuildereventStatusCodesWithStrings(String... eventStatusCodes)A list of event status codes.OrganizationEventFilter.BuildereventStatusCodesWithStrings(Collection<String> eventStatusCodes)A list of event status codes.OrganizationEventFilter.BuildereventTypeCategories(Collection<EventTypeCategory> eventTypeCategories)A list of event type category codes.OrganizationEventFilter.BuildereventTypeCategories(EventTypeCategory... eventTypeCategories)A list of event type category codes.OrganizationEventFilter.BuildereventTypeCategoriesWithStrings(String... eventTypeCategories)A list of event type category codes.OrganizationEventFilter.BuildereventTypeCategoriesWithStrings(Collection<String> eventTypeCategories)A list of event type category codes.OrganizationEventFilter.BuildereventTypeCodes(String... eventTypeCodes)A list of unique identifiers for event types.OrganizationEventFilter.BuildereventTypeCodes(Collection<String> eventTypeCodes)A list of unique identifiers for event types.default OrganizationEventFilter.BuilderlastUpdatedTime(Consumer<DateTimeRange.Builder> lastUpdatedTime)Sets the value of the LastUpdatedTime property for this object.OrganizationEventFilter.BuilderlastUpdatedTime(DateTimeRange lastUpdatedTime)Sets the value of the LastUpdatedTime property for this object.OrganizationEventFilter.Builderregions(String... regions)A list of Amazon Web Services Regions.OrganizationEventFilter.Builderregions(Collection<String> regions)A list of Amazon Web Services Regions.OrganizationEventFilter.Builderservices(String... services)The Amazon Web Services associated with the event.OrganizationEventFilter.Builderservices(Collection<String> services)The Amazon Web Services associated with the event.default OrganizationEventFilter.BuilderstartTime(Consumer<DateTimeRange.Builder> startTime)Sets the value of the StartTime property for this object.OrganizationEventFilter.BuilderstartTime(DateTimeRange startTime)Sets the value of the StartTime property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
eventTypeCodes
OrganizationEventFilter.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
OrganizationEventFilter.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.
-
awsAccountIds
OrganizationEventFilter.Builder awsAccountIds(Collection<String> awsAccountIds)
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
- Parameters:
awsAccountIds- A list of 12-digit Amazon Web Services account numbers that contains the affected entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountIds
OrganizationEventFilter.Builder awsAccountIds(String... awsAccountIds)
A list of 12-digit Amazon Web Services account numbers that contains the affected entities.
- Parameters:
awsAccountIds- A list of 12-digit Amazon Web Services account numbers that contains the affected entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
OrganizationEventFilter.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
OrganizationEventFilter.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
OrganizationEventFilter.Builder regions(Collection<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.
-
regions
OrganizationEventFilter.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.
-
startTime
OrganizationEventFilter.Builder startTime(DateTimeRange startTime)
Sets the value of the StartTime property for this object.- Parameters:
startTime- The new value for the StartTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
default OrganizationEventFilter.Builder startTime(Consumer<DateTimeRange.Builder> startTime)
Sets the value of the StartTime property for this object. This is a convenience method that creates an instance of theDateTimeRange.Builderavoiding the need to create one manually viaDateTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartTime(DateTimeRange).- Parameters:
startTime- a consumer that will call methods onDateTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
startTime(DateTimeRange)
-
endTime
OrganizationEventFilter.Builder endTime(DateTimeRange endTime)
Sets the value of the EndTime property for this object.- Parameters:
endTime- The new value for the EndTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
default OrganizationEventFilter.Builder endTime(Consumer<DateTimeRange.Builder> endTime)
Sets the value of the EndTime property for this object. This is a convenience method that creates an instance of theDateTimeRange.Builderavoiding the need to create one manually viaDateTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendTime(DateTimeRange).- Parameters:
endTime- a consumer that will call methods onDateTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
endTime(DateTimeRange)
-
lastUpdatedTime
OrganizationEventFilter.Builder lastUpdatedTime(DateTimeRange lastUpdatedTime)
Sets the value of the LastUpdatedTime property for this object.- Parameters:
lastUpdatedTime- The new value for the LastUpdatedTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
default OrganizationEventFilter.Builder lastUpdatedTime(Consumer<DateTimeRange.Builder> lastUpdatedTime)
Sets the value of the LastUpdatedTime property for this object. This is a convenience method that creates an instance of theDateTimeRange.Builderavoiding the need to create one manually viaDateTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastUpdatedTime(DateTimeRange).- Parameters:
lastUpdatedTime- a consumer that will call methods onDateTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastUpdatedTime(DateTimeRange)
-
entityArns
OrganizationEventFilter.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
OrganizationEventFilter.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
OrganizationEventFilter.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
OrganizationEventFilter.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
OrganizationEventFilter.Builder eventTypeCategoriesWithStrings(Collection<String> eventTypeCategories)
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Parameters:
eventTypeCategories- A list of event type category codes. Possible values areissue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategoriesWithStrings
OrganizationEventFilter.Builder eventTypeCategoriesWithStrings(String... eventTypeCategories)
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Parameters:
eventTypeCategories- A list of event type category codes. Possible values areissue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategories
OrganizationEventFilter.Builder eventTypeCategories(Collection<EventTypeCategory> eventTypeCategories)
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Parameters:
eventTypeCategories- A list of event type category codes. Possible values areissue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeCategories
OrganizationEventFilter.Builder eventTypeCategories(EventTypeCategory... eventTypeCategories)
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Parameters:
eventTypeCategories- A list of event type category codes. Possible values areissue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn't supported at this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventStatusCodesWithStrings
OrganizationEventFilter.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
OrganizationEventFilter.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
OrganizationEventFilter.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
OrganizationEventFilter.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.
-
-