@Generated(value="software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
Represents a cross-account destination that receives subscription log events.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Destination.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessPolicy()
An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
|
String |
arn()
The ARN of this destination.
|
static Destination.Builder |
builder() |
Long |
creationTime()
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
destinationName()
The name of the destination.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleArn()
A role for impersonation, used when delivering log events to the target.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Destination.Builder> |
serializableBuilderClass() |
String |
targetArn()
The Amazon Resource Name (ARN) of the physical target to where the log events are delivered (for example, a
Kinesis stream).
|
Destination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String destinationName()
The name of the destination.
public String targetArn()
The Amazon Resource Name (ARN) of the physical target to where the log events are delivered (for example, a Kinesis stream).
public String roleArn()
A role for impersonation, used when delivering log events to the target.
public String accessPolicy()
An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
public String arn()
The ARN of this destination.
public Long creationTime()
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public Destination.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Destination.Builder,Destination>public static Destination.Builder builder()
public static Class<? extends Destination.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.