@Generated(value="software.amazon.awssdk:codegen") public final class PutDestinationPolicyRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<PutDestinationPolicyRequest.Builder,PutDestinationPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutDestinationPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessPolicy()
An IAM policy document that authorizes cross-account users to deliver their log events to the associated
destination.
|
static PutDestinationPolicyRequest.Builder |
builder() |
String |
destinationName()
A name for an existing destination.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutDestinationPolicyRequest.Builder> |
serializableBuilderClass() |
PutDestinationPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String destinationName()
A name for an existing destination.
public String accessPolicy()
An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination.
public PutDestinationPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutDestinationPolicyRequest.Builder,PutDestinationPolicyRequest>toBuilder in class CloudWatchLogsRequestpublic static PutDestinationPolicyRequest.Builder builder()
public static Class<? extends PutDestinationPolicyRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.