@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerifiedAccessLogCloudWatchLogsDestination extends Object implements Serializable, Cloneable
Options for CloudWatch Logs as a logging destination.
Constructor and Description |
---|
VerifiedAccessLogCloudWatchLogsDestination() |
Modifier and Type | Method and Description |
---|---|
VerifiedAccessLogCloudWatchLogsDestination |
clone() |
boolean |
equals(Object obj) |
VerifiedAccessLogDeliveryStatus |
getDeliveryStatus()
The delivery status for access logs.
|
Boolean |
getEnabled()
Indicates whether logging is enabled.
|
String |
getLogGroup()
The ID of the CloudWatch Logs log group.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether logging is enabled.
|
void |
setDeliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status for access logs.
|
void |
setEnabled(Boolean enabled)
Indicates whether logging is enabled.
|
void |
setLogGroup(String logGroup)
The ID of the CloudWatch Logs log group.
|
String |
toString()
Returns a string representation of this object.
|
VerifiedAccessLogCloudWatchLogsDestination |
withDeliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status for access logs.
|
VerifiedAccessLogCloudWatchLogsDestination |
withEnabled(Boolean enabled)
Indicates whether logging is enabled.
|
VerifiedAccessLogCloudWatchLogsDestination |
withLogGroup(String logGroup)
The ID of the CloudWatch Logs log group.
|
public VerifiedAccessLogCloudWatchLogsDestination()
public void setEnabled(Boolean enabled)
Indicates whether logging is enabled.
enabled
- Indicates whether logging is enabled.public Boolean getEnabled()
Indicates whether logging is enabled.
public VerifiedAccessLogCloudWatchLogsDestination withEnabled(Boolean enabled)
Indicates whether logging is enabled.
enabled
- Indicates whether logging is enabled.public Boolean isEnabled()
Indicates whether logging is enabled.
public void setDeliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status for access logs.
deliveryStatus
- The delivery status for access logs.public VerifiedAccessLogDeliveryStatus getDeliveryStatus()
The delivery status for access logs.
public VerifiedAccessLogCloudWatchLogsDestination withDeliveryStatus(VerifiedAccessLogDeliveryStatus deliveryStatus)
The delivery status for access logs.
deliveryStatus
- The delivery status for access logs.public void setLogGroup(String logGroup)
The ID of the CloudWatch Logs log group.
logGroup
- The ID of the CloudWatch Logs log group.public String getLogGroup()
The ID of the CloudWatch Logs log group.
public VerifiedAccessLogCloudWatchLogsDestination withLogGroup(String logGroup)
The ID of the CloudWatch Logs log group.
logGroup
- The ID of the CloudWatch Logs log group.public String toString()
toString
in class Object
Object.toString()
public VerifiedAccessLogCloudWatchLogsDestination clone()