@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionLogOptions extends Object implements Serializable, Cloneable
Describes the client connection logging options for the Client VPN endpoint.
Constructor and Description |
---|
ConnectionLogOptions() |
Modifier and Type | Method and Description |
---|---|
ConnectionLogOptions |
clone() |
boolean |
equals(Object obj) |
String |
getCloudwatchLogGroup()
The name of the CloudWatch Logs log group.
|
String |
getCloudwatchLogStream()
The name of the CloudWatch Logs log stream to which the connection data is published.
|
Boolean |
getEnabled()
Indicates whether connection logging is enabled.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether connection logging is enabled.
|
void |
setCloudwatchLogGroup(String cloudwatchLogGroup)
The name of the CloudWatch Logs log group.
|
void |
setCloudwatchLogStream(String cloudwatchLogStream)
The name of the CloudWatch Logs log stream to which the connection data is published.
|
void |
setEnabled(Boolean enabled)
Indicates whether connection logging is enabled.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionLogOptions |
withCloudwatchLogGroup(String cloudwatchLogGroup)
The name of the CloudWatch Logs log group.
|
ConnectionLogOptions |
withCloudwatchLogStream(String cloudwatchLogStream)
The name of the CloudWatch Logs log stream to which the connection data is published.
|
ConnectionLogOptions |
withEnabled(Boolean enabled)
Indicates whether connection logging is enabled.
|
public void setEnabled(Boolean enabled)
Indicates whether connection logging is enabled.
enabled
- Indicates whether connection logging is enabled.public Boolean getEnabled()
Indicates whether connection logging is enabled.
public ConnectionLogOptions withEnabled(Boolean enabled)
Indicates whether connection logging is enabled.
enabled
- Indicates whether connection logging is enabled.public Boolean isEnabled()
Indicates whether connection logging is enabled.
public void setCloudwatchLogGroup(String cloudwatchLogGroup)
The name of the CloudWatch Logs log group. Required if connection logging is enabled.
cloudwatchLogGroup
- The name of the CloudWatch Logs log group. Required if connection logging is enabled.public String getCloudwatchLogGroup()
The name of the CloudWatch Logs log group. Required if connection logging is enabled.
public ConnectionLogOptions withCloudwatchLogGroup(String cloudwatchLogGroup)
The name of the CloudWatch Logs log group. Required if connection logging is enabled.
cloudwatchLogGroup
- The name of the CloudWatch Logs log group. Required if connection logging is enabled.public void setCloudwatchLogStream(String cloudwatchLogStream)
The name of the CloudWatch Logs log stream to which the connection data is published.
cloudwatchLogStream
- The name of the CloudWatch Logs log stream to which the connection data is published.public String getCloudwatchLogStream()
The name of the CloudWatch Logs log stream to which the connection data is published.
public ConnectionLogOptions withCloudwatchLogStream(String cloudwatchLogStream)
The name of the CloudWatch Logs log stream to which the connection data is published.
cloudwatchLogStream
- The name of the CloudWatch Logs log stream to which the connection data is published.public String toString()
toString
in class Object
Object.toString()
public ConnectionLogOptions clone()
Copyright © 2024. All rights reserved.