@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Policy extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about one delivery destination policy.
Constructor and Description |
---|
Policy() |
Modifier and Type | Method and Description |
---|---|
Policy |
clone() |
boolean |
equals(Object obj) |
String |
getDeliveryDestinationPolicy()
The contents of the delivery destination policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeliveryDestinationPolicy(String deliveryDestinationPolicy)
The contents of the delivery destination policy.
|
String |
toString()
Returns a string representation of this object.
|
Policy |
withDeliveryDestinationPolicy(String deliveryDestinationPolicy)
The contents of the delivery destination policy.
|
public void setDeliveryDestinationPolicy(String deliveryDestinationPolicy)
The contents of the delivery destination policy.
deliveryDestinationPolicy
- The contents of the delivery destination policy.public String getDeliveryDestinationPolicy()
The contents of the delivery destination policy.
public Policy withDeliveryDestinationPolicy(String deliveryDestinationPolicy)
The contents of the delivery destination policy.
deliveryDestinationPolicy
- The contents of the delivery destination policy.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.