@Generated(value="software.amazon.awssdk:codegen") public final class LogSubscription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogSubscription.Builder,LogSubscription>
Represents a log subscription, which tracks real-time data from a chosen log group to a specified destination.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogSubscription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LogSubscription.Builder |
builder() |
String |
directoryId()
Identifier (ID) of the directory that you want to associate with the log subscription.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logGroupName()
The name of the log group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogSubscription.Builder> |
serializableBuilderClass() |
Instant |
subscriptionCreatedDateTime()
The date and time that the log subscription was created.
|
LogSubscription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String directoryId()
Identifier (ID) of the directory that you want to associate with the log subscription.
public final String logGroupName()
The name of the log group.
public final Instant subscriptionCreatedDateTime()
The date and time that the log subscription was created.
public LogSubscription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LogSubscription.Builder,LogSubscription>public static LogSubscription.Builder builder()
public static Class<? extends LogSubscription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.