@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.ReceivedStatus
public String getReceivedStatus()
Received status.
ReceivedStatus
public ReceivedMetadata withReceivedStatus(String receivedStatus)
Received status.
receivedStatus
- Received status.ReceivedStatus
public ReceivedMetadata withReceivedStatus(ReceivedStatus receivedStatus)
Received status.
receivedStatus
- Received status.ReceivedStatus
public 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.
AllowedOperation
public void setAllowedOperations(Collection<String> allowedOperations)
Allowed operations.
allowedOperations
- Allowed operations.AllowedOperation
public 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.AllowedOperation
public ReceivedMetadata withAllowedOperations(Collection<String> allowedOperations)
Allowed operations.
allowedOperations
- Allowed operations.AllowedOperation
public ReceivedMetadata withAllowedOperations(AllowedOperation... allowedOperations)
Allowed operations.
allowedOperations
- Allowed operations.AllowedOperation
public String toString()
toString
in class Object
Object.toString()
public ReceivedMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.