StructuredPojo
, ToCopyableBuilder<Destination.Builder,Destination>
@Generated("software.amazon.awssdk:codegen") public class Destination extends Object implements StructuredPojo, ToCopyableBuilder<Destination.Builder,Destination>
Represents a cross-account destination that receives subscription log events.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Destination.Builder |
Modifier and Type | Method | 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) |
Marshalls this structured data using the given
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() |
Take this object and create a builder that contains all of the current property values of this object.
|
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Destination.Builder,Destination>
public static Destination.Builder builder()
public static Class<? extends Destination.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.