@Generated(value="software.amazon.awssdk:codegen") public class Destination extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.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 since Jan 1, 1970 00:00:00 UTC.
|
String |
destinationName()
The name of the destination.
|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
String |
roleArn()
A role for impersonation, used when delivering log events to the target.
|
static Class<? extends Destination.Builder> |
serializableBuilderClass() |
String |
targetArn()
The Amazon Resource Name (ARN) of the physical target where the log events will be delivered (for example, a
Kinesis stream).
|
Destination.Builder |
toBuilder() |
String |
toString() |
public String destinationName()
The name of the destination.
public String targetArn()
The Amazon Resource Name (ARN) of the physical target where the log events will be 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 since Jan 1, 1970 00:00:00 UTC.
public Destination.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<Destination.Builder,Destination>public static Destination.Builder builder()
public static Class<? extends Destination.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.