Interface ServiceState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceState.Builder,
,ServiceState> SdkBuilder<ServiceState.Builder,
,ServiceState> SdkPojo
- Enclosing class:
ServiceState
-
Method Summary
Modifier and TypeMethodDescriptionattributeFilters
(Collection<AttributeFilter> attributeFilters) The attribute filters that were applied when retrieving this service state information.attributeFilters
(Consumer<AttributeFilter.Builder>... attributeFilters) The attribute filters that were applied when retrieving this service state information.attributeFilters
(AttributeFilter... attributeFilters) The attribute filters that were applied when retrieving this service state information.latestChangeEvents
(Collection<ChangeEvent> latestChangeEvents) An array containing the most recent change events for this service, such as deployments, with information about when they occurred and who initiated them.latestChangeEvents
(Consumer<ChangeEvent.Builder>... latestChangeEvents) An array containing the most recent change events for this service, such as deployments, with information about when they occurred and who initiated them.latestChangeEvents
(ChangeEvent... latestChangeEvents) An array containing the most recent change events for this service, such as deployments, with information about when they occurred and who initiated them.The key attributes that identify this service, including Type, Name, and Environment information.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, sdkFieldNameToField, sdkFields
-
Method Details
-
attributeFilters
The attribute filters that were applied when retrieving this service state information.
- Parameters:
attributeFilters
- The attribute filters that were applied when retrieving this service state information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilters
The attribute filters that were applied when retrieving this service state information.
- Parameters:
attributeFilters
- The attribute filters that were applied when retrieving this service state information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilters
The attribute filters that were applied when retrieving this service state information.
This is a convenience method that creates an instance of theAttributeFilter.Builder
avoiding the need to create one manually viaAttributeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeFilters(List<AttributeFilter>)
.- Parameters:
attributeFilters
- a consumer that will call methods onAttributeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
service
The key attributes that identify this service, including Type, Name, and Environment information.
- Parameters:
service
- The key attributes that identify this service, including Type, Name, and Environment information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestChangeEvents
An array containing the most recent change events for this service, such as deployments, with information about when they occurred and who initiated them.
- Parameters:
latestChangeEvents
- An array containing the most recent change events for this service, such as deployments, with information about when they occurred and who initiated them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestChangeEvents
An array containing the most recent change events for this service, such as deployments, with information about when they occurred and who initiated them.
- Parameters:
latestChangeEvents
- An array containing the most recent change events for this service, such as deployments, with information about when they occurred and who initiated them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestChangeEvents
An array containing the most recent change events for this service, such as deployments, with information about when they occurred and who initiated them.
This is a convenience method that creates an instance of theChangeEvent.Builder
avoiding the need to create one manually viaChangeEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestChangeEvents(List<ChangeEvent>)
.- Parameters:
latestChangeEvents
- a consumer that will call methods onChangeEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-