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