@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceSyncBlockerSummary extends Object implements Serializable, Cloneable, StructuredPojo
If a service instance is manually updated, Proton wants to prevent accidentally overriding a manual change.
A blocker is created because of the manual update or deletion of a service instance. The summary describes the blocker as being active or resolved.
Constructor and Description |
---|
ServiceSyncBlockerSummary() |
Modifier and Type | Method and Description |
---|---|
ServiceSyncBlockerSummary |
clone() |
boolean |
equals(Object obj) |
List<SyncBlocker> |
getLatestBlockers()
The latest active blockers for the synced service.
|
String |
getServiceInstanceName()
The name of the service instance that you want sync your service configuration with.
|
String |
getServiceName()
The name of the service that you want to get the sync blocker summary for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLatestBlockers(Collection<SyncBlocker> latestBlockers)
The latest active blockers for the synced service.
|
void |
setServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want sync your service configuration with.
|
void |
setServiceName(String serviceName)
The name of the service that you want to get the sync blocker summary for.
|
String |
toString()
Returns a string representation of this object.
|
ServiceSyncBlockerSummary |
withLatestBlockers(Collection<SyncBlocker> latestBlockers)
The latest active blockers for the synced service.
|
ServiceSyncBlockerSummary |
withLatestBlockers(SyncBlocker... latestBlockers)
The latest active blockers for the synced service.
|
ServiceSyncBlockerSummary |
withServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want sync your service configuration with.
|
ServiceSyncBlockerSummary |
withServiceName(String serviceName)
The name of the service that you want to get the sync blocker summary for.
|
public List<SyncBlocker> getLatestBlockers()
The latest active blockers for the synced service.
public void setLatestBlockers(Collection<SyncBlocker> latestBlockers)
The latest active blockers for the synced service.
latestBlockers
- The latest active blockers for the synced service.public ServiceSyncBlockerSummary withLatestBlockers(SyncBlocker... latestBlockers)
The latest active blockers for the synced service.
NOTE: This method appends the values to the existing list (if any). Use
setLatestBlockers(java.util.Collection)
or withLatestBlockers(java.util.Collection)
if you want
to override the existing values.
latestBlockers
- The latest active blockers for the synced service.public ServiceSyncBlockerSummary withLatestBlockers(Collection<SyncBlocker> latestBlockers)
The latest active blockers for the synced service.
latestBlockers
- The latest active blockers for the synced service.public void setServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want sync your service configuration with.
serviceInstanceName
- The name of the service instance that you want sync your service configuration with.public String getServiceInstanceName()
The name of the service instance that you want sync your service configuration with.
public ServiceSyncBlockerSummary withServiceInstanceName(String serviceInstanceName)
The name of the service instance that you want sync your service configuration with.
serviceInstanceName
- The name of the service instance that you want sync your service configuration with.public void setServiceName(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.
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.
public String getServiceName()
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.
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.
public ServiceSyncBlockerSummary withServiceName(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.
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.
public String toString()
toString
in class Object
Object.toString()
public ServiceSyncBlockerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.