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