@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SyncBlocker extends Object implements Serializable, Cloneable, StructuredPojo
Information about a blocker for a sync event.
Constructor and Description |
---|
SyncBlocker() |
Modifier and Type | Method and Description |
---|---|
SyncBlocker |
clone() |
boolean |
equals(Object obj) |
List<SyncBlockerContext> |
getContexts()
The contexts for a specific sync blocker.
|
Date |
getCreatedAt()
The creation time for a specific sync blocker.
|
String |
getCreatedReason()
The provided reason for a specific sync blocker.
|
String |
getId()
The ID for a specific sync blocker.
|
Date |
getResolvedAt()
The time that a specific sync blocker was resolved.
|
String |
getResolvedReason()
The resolved reason for a specific sync blocker.
|
String |
getStatus()
The status for a specific sync blocker.
|
String |
getType()
The sync blocker type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContexts(Collection<SyncBlockerContext> contexts)
The contexts for a specific sync blocker.
|
void |
setCreatedAt(Date createdAt)
The creation time for a specific sync blocker.
|
void |
setCreatedReason(String createdReason)
The provided reason for a specific sync blocker.
|
void |
setId(String id)
The ID for a specific sync blocker.
|
void |
setResolvedAt(Date resolvedAt)
The time that a specific sync blocker was resolved.
|
void |
setResolvedReason(String resolvedReason)
The resolved reason for a specific sync blocker.
|
void |
setStatus(String status)
The status for a specific sync blocker.
|
void |
setType(String type)
The sync blocker type.
|
String |
toString()
Returns a string representation of this object.
|
SyncBlocker |
withContexts(Collection<SyncBlockerContext> contexts)
The contexts for a specific sync blocker.
|
SyncBlocker |
withContexts(SyncBlockerContext... contexts)
The contexts for a specific sync blocker.
|
SyncBlocker |
withCreatedAt(Date createdAt)
The creation time for a specific sync blocker.
|
SyncBlocker |
withCreatedReason(String createdReason)
The provided reason for a specific sync blocker.
|
SyncBlocker |
withId(String id)
The ID for a specific sync blocker.
|
SyncBlocker |
withResolvedAt(Date resolvedAt)
The time that a specific sync blocker was resolved.
|
SyncBlocker |
withResolvedReason(String resolvedReason)
The resolved reason for a specific sync blocker.
|
SyncBlocker |
withStatus(BlockerStatus status)
The status for a specific sync blocker.
|
SyncBlocker |
withStatus(String status)
The status for a specific sync blocker.
|
SyncBlocker |
withType(BlockerType type)
The sync blocker type.
|
SyncBlocker |
withType(String type)
The sync blocker type.
|
public void setId(String id)
The ID for a specific sync blocker.
id
- The ID for a specific sync blocker.public String getId()
The ID for a specific sync blocker.
public SyncBlocker withId(String id)
The ID for a specific sync blocker.
id
- The ID for a specific sync blocker.public void setType(String type)
The sync blocker type.
type
- The sync blocker type.BlockerType
public String getType()
The sync blocker type.
BlockerType
public SyncBlocker withType(String type)
The sync blocker type.
type
- The sync blocker type.BlockerType
public SyncBlocker withType(BlockerType type)
The sync blocker type.
type
- The sync blocker type.BlockerType
public void setStatus(String status)
The status for a specific sync blocker.
status
- The status for a specific sync blocker.BlockerStatus
public String getStatus()
The status for a specific sync blocker.
BlockerStatus
public SyncBlocker withStatus(String status)
The status for a specific sync blocker.
status
- The status for a specific sync blocker.BlockerStatus
public SyncBlocker withStatus(BlockerStatus status)
The status for a specific sync blocker.
status
- The status for a specific sync blocker.BlockerStatus
public void setCreatedReason(String createdReason)
The provided reason for a specific sync blocker.
createdReason
- The provided reason for a specific sync blocker.public String getCreatedReason()
The provided reason for a specific sync blocker.
public SyncBlocker withCreatedReason(String createdReason)
The provided reason for a specific sync blocker.
createdReason
- The provided reason for a specific sync blocker.public void setCreatedAt(Date createdAt)
The creation time for a specific sync blocker.
createdAt
- The creation time for a specific sync blocker.public Date getCreatedAt()
The creation time for a specific sync blocker.
public SyncBlocker withCreatedAt(Date createdAt)
The creation time for a specific sync blocker.
createdAt
- The creation time for a specific sync blocker.public List<SyncBlockerContext> getContexts()
The contexts for a specific sync blocker.
public void setContexts(Collection<SyncBlockerContext> contexts)
The contexts for a specific sync blocker.
contexts
- The contexts for a specific sync blocker.public SyncBlocker withContexts(SyncBlockerContext... contexts)
The contexts for a specific sync blocker.
NOTE: This method appends the values to the existing list (if any). Use
setContexts(java.util.Collection)
or withContexts(java.util.Collection)
if you want to override
the existing values.
contexts
- The contexts for a specific sync blocker.public SyncBlocker withContexts(Collection<SyncBlockerContext> contexts)
The contexts for a specific sync blocker.
contexts
- The contexts for a specific sync blocker.public void setResolvedReason(String resolvedReason)
The resolved reason for a specific sync blocker.
resolvedReason
- The resolved reason for a specific sync blocker.public String getResolvedReason()
The resolved reason for a specific sync blocker.
public SyncBlocker withResolvedReason(String resolvedReason)
The resolved reason for a specific sync blocker.
resolvedReason
- The resolved reason for a specific sync blocker.public void setResolvedAt(Date resolvedAt)
The time that a specific sync blocker was resolved.
resolvedAt
- The time that a specific sync blocker was resolved.public Date getResolvedAt()
The time that a specific sync blocker was resolved.
public SyncBlocker withResolvedAt(Date resolvedAt)
The time that a specific sync blocker was resolved.
resolvedAt
- The time that a specific sync blocker was resolved.public String toString()
toString
in class Object
Object.toString()
public SyncBlocker clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.