@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 Amazon Web Services 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) |
boolean |
equalsBySdkFields(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 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 final String destinationName()
The name of the destination.
public final String targetArn()
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
public final String roleArn()
A role for impersonation, used when delivering log events to the target.
public final String accessPolicy()
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
public final String arn()
The ARN of this destination.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.