@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLogOptions extends Object implements Serializable, Cloneable
Options for sending VPN tunnel logs to CloudWatch.
Constructor and Description |
---|
CloudWatchLogOptions() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLogOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getLogEnabled()
Status of VPN tunnel logging feature.
|
String |
getLogGroupArn()
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
|
String |
getLogOutputFormat()
Configured log format.
|
int |
hashCode() |
Boolean |
isLogEnabled()
Status of VPN tunnel logging feature.
|
void |
setLogEnabled(Boolean logEnabled)
Status of VPN tunnel logging feature.
|
void |
setLogGroupArn(String logGroupArn)
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
|
void |
setLogOutputFormat(String logOutputFormat)
Configured log format.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchLogOptions |
withLogEnabled(Boolean logEnabled)
Status of VPN tunnel logging feature.
|
CloudWatchLogOptions |
withLogGroupArn(String logGroupArn)
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
|
CloudWatchLogOptions |
withLogOutputFormat(String logOutputFormat)
Configured log format.
|
public void setLogEnabled(Boolean logEnabled)
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
logEnabled
- Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
public Boolean getLogEnabled()
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
False
.
Valid values: True
| False
public CloudWatchLogOptions withLogEnabled(Boolean logEnabled)
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
logEnabled
- Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
public Boolean isLogEnabled()
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
False
.
Valid values: True
| False
public void setLogGroupArn(String logGroupArn)
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
logGroupArn
- The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.public String getLogGroupArn()
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
public CloudWatchLogOptions withLogGroupArn(String logGroupArn)
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
logGroupArn
- The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.public void setLogOutputFormat(String logOutputFormat)
Configured log format. Default format is json
.
Valid values: json
| text
logOutputFormat
- Configured log format. Default format is json
.
Valid values: json
| text
public String getLogOutputFormat()
Configured log format. Default format is json
.
Valid values: json
| text
json
.
Valid values: json
| text
public CloudWatchLogOptions withLogOutputFormat(String logOutputFormat)
Configured log format. Default format is json
.
Valid values: json
| text
logOutputFormat
- Configured log format. Default format is json
.
Valid values: json
| text
public String toString()
toString
in class Object
Object.toString()
public CloudWatchLogOptions clone()