public class PutDestinationPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutDestinationPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutDestinationPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAccessPolicy()
An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.
|
String |
getDestinationName()
A name for an existing destination.
|
int |
hashCode() |
void |
setAccessPolicy(String accessPolicy)
An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.
|
void |
setDestinationName(String destinationName)
A name for an existing destination.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutDestinationPolicyRequest |
withAccessPolicy(String accessPolicy)
An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.
|
PutDestinationPolicyRequest |
withDestinationName(String destinationName)
A name for an existing destination.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setDestinationName(String destinationName)
A name for an existing destination.
destinationName - A name for an existing destination.public String getDestinationName()
A name for an existing destination.
public PutDestinationPolicyRequest withDestinationName(String destinationName)
A name for an existing destination.
destinationName - A name for an existing destination.public void setAccessPolicy(String accessPolicy)
An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.
accessPolicy - An IAM policy document that authorizes cross-account users to deliver their log events to associated
destination.public String getAccessPolicy()
An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.
public PutDestinationPolicyRequest withAccessPolicy(String accessPolicy)
An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.
accessPolicy - An IAM policy document that authorizes cross-account users to deliver their log events to associated
destination.public String toString()
toString in class ObjectObject.toString()public PutDestinationPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.