Interface ServiceSyncBlockerSummary.Builder

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

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

    • latestBlockers

      ServiceSyncBlockerSummary.Builder latestBlockers(Collection<SyncBlocker> 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

      ServiceSyncBlockerSummary.Builder latestBlockers(SyncBlocker... 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 the SyncBlocker.Builder avoiding the need to create one manually via SyncBlocker.builder().

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

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

      ServiceSyncBlockerSummary.Builder serviceInstanceName(String 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

      ServiceSyncBlockerSummary.Builder serviceName(String 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.