@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogSubscription extends Object implements Serializable, Cloneable, StructuredPojo
Represents a log subscription, which tracks real-time data from a chosen log group to a specified destination.
Constructor and Description |
---|
LogSubscription() |
Modifier and Type | Method and Description |
---|---|
LogSubscription |
clone() |
boolean |
equals(Object obj) |
String |
getDirectoryId()
Identifier (ID) of the directory that you want to associate with the log subscription.
|
String |
getLogGroupName()
The name of the log group.
|
Date |
getSubscriptionCreatedDateTime()
The date and time that the log subscription was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDirectoryId(String directoryId)
Identifier (ID) of the directory that you want to associate with the log subscription.
|
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
void |
setSubscriptionCreatedDateTime(Date subscriptionCreatedDateTime)
The date and time that the log subscription was created.
|
String |
toString()
Returns a string representation of this object.
|
LogSubscription |
withDirectoryId(String directoryId)
Identifier (ID) of the directory that you want to associate with the log subscription.
|
LogSubscription |
withLogGroupName(String logGroupName)
The name of the log group.
|
LogSubscription |
withSubscriptionCreatedDateTime(Date subscriptionCreatedDateTime)
The date and time that the log subscription was created.
|
public void setDirectoryId(String directoryId)
Identifier (ID) of the directory that you want to associate with the log subscription.
directoryId
- Identifier (ID) of the directory that you want to associate with the log subscription.public String getDirectoryId()
Identifier (ID) of the directory that you want to associate with the log subscription.
public LogSubscription withDirectoryId(String directoryId)
Identifier (ID) of the directory that you want to associate with the log subscription.
directoryId
- Identifier (ID) of the directory that you want to associate with the log subscription.public void setLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public String getLogGroupName()
The name of the log group.
public LogSubscription withLogGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.public void setSubscriptionCreatedDateTime(Date subscriptionCreatedDateTime)
The date and time that the log subscription was created.
subscriptionCreatedDateTime
- The date and time that the log subscription was created.public Date getSubscriptionCreatedDateTime()
The date and time that the log subscription was created.
public LogSubscription withSubscriptionCreatedDateTime(Date subscriptionCreatedDateTime)
The date and time that the log subscription was created.
subscriptionCreatedDateTime
- The date and time that the log subscription was created.public String toString()
toString
in class Object
Object.toString()
public LogSubscription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.