@Generated(value="software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
Contains information about an audit log destination.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Destination.Builder |
static class |
Destination.Type |
| Modifier and Type | Method and Description |
|---|---|
static Destination.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FirehoseStream |
firehoseStream()
Contains information about an Amazon Kinesis Data Firehose delivery stream.
|
static Destination |
fromFirehoseStream(Consumer<FirehoseStream.Builder> firehoseStream)
Create an instance of this class with
firehoseStream() initialized to the given value. |
static Destination |
fromFirehoseStream(FirehoseStream firehoseStream)
Create an instance of this class with
firehoseStream() initialized to the given value. |
static Destination |
fromS3Bucket(Consumer<S3Bucket.Builder> s3Bucket)
Create an instance of this class with
s3Bucket() initialized to the given value. |
static Destination |
fromS3Bucket(S3Bucket s3Bucket)
Create an instance of this class with
s3Bucket() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
S3Bucket |
s3Bucket()
Contains information about an Amazon S3 bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Destination.Builder> |
serializableBuilderClass() |
Destination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Destination.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final S3Bucket s3Bucket()
Contains information about an Amazon S3 bucket.
public final FirehoseStream firehoseStream()
Contains information about an Amazon Kinesis Data Firehose delivery stream.
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()
public static Destination fromS3Bucket(S3Bucket s3Bucket)
s3Bucket() initialized to the given value.
Contains information about an Amazon S3 bucket.
s3Bucket - Contains information about an Amazon S3 bucket.public static Destination fromS3Bucket(Consumer<S3Bucket.Builder> s3Bucket)
s3Bucket() initialized to the given value.
Contains information about an Amazon S3 bucket.
s3Bucket - Contains information about an Amazon S3 bucket.public static Destination fromFirehoseStream(FirehoseStream firehoseStream)
firehoseStream() initialized to the given value.
Contains information about an Amazon Kinesis Data Firehose delivery stream.
firehoseStream - Contains information about an Amazon Kinesis Data Firehose delivery stream.public static Destination fromFirehoseStream(Consumer<FirehoseStream.Builder> firehoseStream)
firehoseStream() initialized to the given value.
Contains information about an Amazon Kinesis Data Firehose delivery stream.
firehoseStream - Contains information about an Amazon Kinesis Data Firehose delivery stream.public Destination.Type type()
Destination.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be Destination.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.