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