#[non_exhaustive]pub struct ServiceSyncBlockerSummaryBuilder { /* private fields */ }
Expand description
A builder for ServiceSyncBlockerSummary
.
Implementations§
source§impl ServiceSyncBlockerSummaryBuilder
impl ServiceSyncBlockerSummaryBuilder
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
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.
This field is required.sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
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.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
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.
sourcepub fn service_instance_name(self, input: impl Into<String>) -> Self
pub fn service_instance_name(self, input: impl Into<String>) -> Self
The name of the service instance that you want sync your service configuration with.
sourcepub fn set_service_instance_name(self, input: Option<String>) -> Self
pub fn set_service_instance_name(self, input: Option<String>) -> Self
The name of the service instance that you want sync your service configuration with.
sourcepub fn get_service_instance_name(&self) -> &Option<String>
pub fn get_service_instance_name(&self) -> &Option<String>
The name of the service instance that you want sync your service configuration with.
sourcepub fn latest_blockers(self, input: SyncBlocker) -> Self
pub fn latest_blockers(self, input: SyncBlocker) -> Self
Appends an item to latest_blockers
.
To override the contents of this collection use set_latest_blockers
.
The latest active blockers for the synced service.
sourcepub fn set_latest_blockers(self, input: Option<Vec<SyncBlocker>>) -> Self
pub fn set_latest_blockers(self, input: Option<Vec<SyncBlocker>>) -> Self
The latest active blockers for the synced service.
sourcepub fn get_latest_blockers(&self) -> &Option<Vec<SyncBlocker>>
pub fn get_latest_blockers(&self) -> &Option<Vec<SyncBlocker>>
The latest active blockers for the synced service.
sourcepub fn build(self) -> Result<ServiceSyncBlockerSummary, BuildError>
pub fn build(self) -> Result<ServiceSyncBlockerSummary, BuildError>
Consumes the builder and constructs a ServiceSyncBlockerSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServiceSyncBlockerSummaryBuilder
impl Clone for ServiceSyncBlockerSummaryBuilder
source§fn clone(&self) -> ServiceSyncBlockerSummaryBuilder
fn clone(&self) -> ServiceSyncBlockerSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ServiceSyncBlockerSummaryBuilder
impl Default for ServiceSyncBlockerSummaryBuilder
source§fn default() -> ServiceSyncBlockerSummaryBuilder
fn default() -> ServiceSyncBlockerSummaryBuilder
source§impl PartialEq for ServiceSyncBlockerSummaryBuilder
impl PartialEq for ServiceSyncBlockerSummaryBuilder
source§fn eq(&self, other: &ServiceSyncBlockerSummaryBuilder) -> bool
fn eq(&self, other: &ServiceSyncBlockerSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.