@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() |
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.
|
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, copyBaseTo, 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. This can be up to 5120 bytes.
accessPolicy
- An IAM policy document that authorizes cross-account users to deliver their log events to the associated
destination. This can be up to 5120 bytes.public String getAccessPolicy()
An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination. This can be up to 5120 bytes.
public PutDestinationPolicyRequest withAccessPolicy(String accessPolicy)
An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination. This can be up to 5120 bytes.
accessPolicy
- An IAM policy document that authorizes cross-account users to deliver their log events to the associated
destination. This can be up to 5120 bytes.public String toString()
toString
in class Object
Object.toString()
public PutDestinationPolicyRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2020. All rights reserved.