@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReceivedMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Metadata associated with received licenses and grants.
| Constructor and Description | 
|---|
| ReceivedMetadata() | 
| Modifier and Type | Method and Description | 
|---|---|
| ReceivedMetadata | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getAllowedOperations()
 Allowed operations. | 
| String | getReceivedStatus()
 Received status. | 
| String | getReceivedStatusReason()
 Received status reason. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAllowedOperations(Collection<String> allowedOperations)
 Allowed operations. | 
| void | setReceivedStatus(String receivedStatus)
 Received status. | 
| void | setReceivedStatusReason(String receivedStatusReason)
 Received status reason. | 
| String | toString()Returns a string representation of this object. | 
| ReceivedMetadata | withAllowedOperations(AllowedOperation... allowedOperations)
 Allowed operations. | 
| ReceivedMetadata | withAllowedOperations(Collection<String> allowedOperations)
 Allowed operations. | 
| ReceivedMetadata | withAllowedOperations(String... allowedOperations)
 Allowed operations. | 
| ReceivedMetadata | withReceivedStatus(ReceivedStatus receivedStatus)
 Received status. | 
| ReceivedMetadata | withReceivedStatus(String receivedStatus)
 Received status. | 
| ReceivedMetadata | withReceivedStatusReason(String receivedStatusReason)
 Received status reason. | 
public void setReceivedStatus(String receivedStatus)
Received status.
receivedStatus - Received status.ReceivedStatuspublic String getReceivedStatus()
Received status.
ReceivedStatuspublic ReceivedMetadata withReceivedStatus(String receivedStatus)
Received status.
receivedStatus - Received status.ReceivedStatuspublic ReceivedMetadata withReceivedStatus(ReceivedStatus receivedStatus)
Received status.
receivedStatus - Received status.ReceivedStatuspublic void setReceivedStatusReason(String receivedStatusReason)
Received status reason.
receivedStatusReason - Received status reason.public String getReceivedStatusReason()
Received status reason.
public ReceivedMetadata withReceivedStatusReason(String receivedStatusReason)
Received status reason.
receivedStatusReason - Received status reason.public List<String> getAllowedOperations()
Allowed operations.
AllowedOperationpublic void setAllowedOperations(Collection<String> allowedOperations)
Allowed operations.
allowedOperations - Allowed operations.AllowedOperationpublic ReceivedMetadata withAllowedOperations(String... allowedOperations)
Allowed operations.
 NOTE: This method appends the values to the existing list (if any). Use
 setAllowedOperations(java.util.Collection) or withAllowedOperations(java.util.Collection) if
 you want to override the existing values.
 
allowedOperations - Allowed operations.AllowedOperationpublic ReceivedMetadata withAllowedOperations(Collection<String> allowedOperations)
Allowed operations.
allowedOperations - Allowed operations.AllowedOperationpublic ReceivedMetadata withAllowedOperations(AllowedOperation... allowedOperations)
Allowed operations.
allowedOperations - Allowed operations.AllowedOperationpublic String toString()
toString in class ObjectObject.toString()public ReceivedMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.