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.attributeFilters(Consumer<AttributeFilter.Builder>... attributeFilters) The attribute filters that were applied when retrieving this service state.attributeFilters(AttributeFilter... attributeFilters) The attribute filters that were applied when retrieving this service state.latestChangeEvents(Collection<ChangeEvent> latestChangeEvents) An array of the most recent change events that may have affected this service, such as deployments or configuration changes.latestChangeEvents(Consumer<ChangeEvent.Builder>... latestChangeEvents) An array of the most recent change events that may have affected this service, such as deployments or configuration changes.latestChangeEvents(ChangeEvent... latestChangeEvents) An array of the most recent change events that may have affected this service, such as deployments or configuration changes.The service entity information for this service state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
- Parameters:
attributeFilters- The attribute filters that were applied when retrieving this service state.- 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.
- Parameters:
attributeFilters- The attribute filters that were applied when retrieving this service state.- 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.
This is a convenience method that creates an instance of theAttributeFilter.Builderavoiding the need to create one manually viaAttributeFilter.builder().When the
Consumercompletes,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 service entity information for this service state.
- Parameters:
service- The service entity information for this service state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestChangeEvents
An array of the most recent change events that may have affected this service, such as deployments or configuration changes.
- Parameters:
latestChangeEvents- An array of the most recent change events that may have affected this service, such as deployments or configuration changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestChangeEvents
An array of the most recent change events that may have affected this service, such as deployments or configuration changes.
- Parameters:
latestChangeEvents- An array of the most recent change events that may have affected this service, such as deployments or configuration changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestChangeEvents
An array of the most recent change events that may have affected this service, such as deployments or configuration changes.
This is a convenience method that creates an instance of theChangeEvent.Builderavoiding the need to create one manually viaChangeEvent.builder().When the
Consumercompletes,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:
-