@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VerifiedAccessLogCloudWatchLogsDestinationOptions extends Object implements Serializable, Cloneable
Options for CloudWatch Logs as a logging destination.
Constructor and Description |
---|
VerifiedAccessLogCloudWatchLogsDestinationOptions() |
Modifier and Type | Method and Description |
---|---|
VerifiedAccessLogCloudWatchLogsDestinationOptions |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
VerifiedAccessLogCloudWatchLogsDestinationOptions |
withEnabled(Boolean enabled)
Indicates whether logging is enabled.
|
VerifiedAccessLogCloudWatchLogsDestinationOptions |
withLogGroup(String logGroup)
The ID of the CloudWatch Logs log group.
|
public VerifiedAccessLogCloudWatchLogsDestinationOptions()
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 VerifiedAccessLogCloudWatchLogsDestinationOptions withEnabled(Boolean enabled)
Indicates whether logging is enabled.
enabled
- Indicates whether logging is enabled.public Boolean isEnabled()
Indicates whether logging is enabled.
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 VerifiedAccessLogCloudWatchLogsDestinationOptions 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 VerifiedAccessLogCloudWatchLogsDestinationOptions clone()
Copyright © 2023. All rights reserved.