@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String directoryId()
Identifier (ID) of the directory that you want to associate with the log subscription.
public String logGroupName()
The name of the log group.
public Instant subscriptionCreatedDateTime()
The date and time that the log subscription was created.
public LogSubscription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LogSubscription.Builder,LogSubscription>
public static LogSubscription.Builder builder()
public static Class<? extends LogSubscription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.