Interface ServiceSyncBlockerSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceSyncBlockerSummary.Builder,
,ServiceSyncBlockerSummary> SdkBuilder<ServiceSyncBlockerSummary.Builder,
,ServiceSyncBlockerSummary> SdkPojo
- Enclosing class:
ServiceSyncBlockerSummary
-
Method Summary
Modifier and TypeMethodDescriptionlatestBlockers
(Collection<SyncBlocker> latestBlockers) The latest active blockers for the synced service.latestBlockers
(Consumer<SyncBlocker.Builder>... latestBlockers) The latest active blockers for the synced service.latestBlockers
(SyncBlocker... latestBlockers) The latest active blockers for the synced service.serviceInstanceName
(String serviceInstanceName) The name of the service instance that you want sync your service configuration with.serviceName
(String serviceName) The name of the service that you want to get the sync blocker summary for.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 Details
-
latestBlockers
The latest active blockers for the synced service.
- Parameters:
latestBlockers
- The latest active blockers for the synced service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestBlockers
The latest active blockers for the synced service.
- Parameters:
latestBlockers
- The latest active blockers for the synced service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestBlockers
The latest active blockers for the synced service.
This is a convenience method that creates an instance of theSyncBlocker.Builder
avoiding the need to create one manually viaSyncBlocker.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestBlockers(List<SyncBlocker>)
.- Parameters:
latestBlockers
- a consumer that will call methods onSyncBlocker.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceInstanceName
The name of the service instance that you want sync your service configuration with.
- Parameters:
serviceInstanceName
- The name of the service instance that you want sync your service configuration with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the service that you want to get the sync blocker summary for. If given a service instance name and a service name, it will return the blockers only applying to the instance that is blocked.
If given only a service name, it will return the blockers that apply to all of the instances. In order to get the blockers for a single instance, you will need to make two distinct calls, one to get the sync blocker summary for the service and the other to get the sync blocker for the service instance.
- Parameters:
serviceName
- The name of the service that you want to get the sync blocker summary for. If given a service instance name and a service name, it will return the blockers only applying to the instance that is blocked.If given only a service name, it will return the blockers that apply to all of the instances. In order to get the blockers for a single instance, you will need to make two distinct calls, one to get the sync blocker summary for the service and the other to get the sync blocker for the service instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-