@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDeliveryDestinationPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutDeliveryDestinationPolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutDeliveryDestinationPolicyResult |
clone() |
boolean |
equals(Object obj) |
Policy |
getPolicy()
The contents of the policy that you just created.
|
int |
hashCode() |
void |
setPolicy(Policy policy)
The contents of the policy that you just created.
|
String |
toString()
Returns a string representation of this object.
|
PutDeliveryDestinationPolicyResult |
withPolicy(Policy policy)
The contents of the policy that you just created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicy(Policy policy)
The contents of the policy that you just created.
policy
- The contents of the policy that you just created.public Policy getPolicy()
The contents of the policy that you just created.
public PutDeliveryDestinationPolicyResult withPolicy(Policy policy)
The contents of the policy that you just created.
policy
- The contents of the policy that you just created.public String toString()
toString
in class Object
Object.toString()
public PutDeliveryDestinationPolicyResult clone()