@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDestinationPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutDestinationPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutDestinationPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessPolicy()
An IAM policy document that authorizes cross-account users to deliver their log events to the 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 the 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 the associated
destination.
|
PutDestinationPolicyRequest |
withDestinationName(String destinationName)
A name for an existing destination.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 the associated destination.
accessPolicy
- An IAM policy document that authorizes cross-account users to deliver their log events to the associated
destination.public String getAccessPolicy()
An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination.
public PutDestinationPolicyRequest withAccessPolicy(String accessPolicy)
An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination.
accessPolicy
- An IAM policy document that authorizes cross-account users to deliver their log events to the associated
destination.public String toString()
toString
in class Object
Object.toString()
public PutDestinationPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.