@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryLoggingConfig extends Object implements Serializable, Cloneable
A complex type that contains information about a configuration for DNS query logging.
Constructor and Description |
---|
QueryLoggingConfig() |
Modifier and Type | Method and Description |
---|---|
QueryLoggingConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogsLogGroupArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
|
String |
getHostedZoneId()
The ID of the hosted zone that CloudWatch Logs is logging queries for.
|
String |
getId()
The ID for a configuration for DNS query logging.
|
int |
hashCode() |
void |
setCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
|
void |
setHostedZoneId(String hostedZoneId)
The ID of the hosted zone that CloudWatch Logs is logging queries for.
|
void |
setId(String id)
The ID for a configuration for DNS query logging.
|
String |
toString()
Returns a string representation of this object.
|
QueryLoggingConfig |
withCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
|
QueryLoggingConfig |
withHostedZoneId(String hostedZoneId)
The ID of the hosted zone that CloudWatch Logs is logging queries for.
|
QueryLoggingConfig |
withId(String id)
The ID for a configuration for DNS query logging.
|
public void setId(String id)
The ID for a configuration for DNS query logging.
id
- The ID for a configuration for DNS query logging.public String getId()
The ID for a configuration for DNS query logging.
public QueryLoggingConfig withId(String id)
The ID for a configuration for DNS query logging.
id
- The ID for a configuration for DNS query logging.public void setHostedZoneId(String hostedZoneId)
The ID of the hosted zone that CloudWatch Logs is logging queries for.
hostedZoneId
- The ID of the hosted zone that CloudWatch Logs is logging queries for.public String getHostedZoneId()
The ID of the hosted zone that CloudWatch Logs is logging queries for.
public QueryLoggingConfig withHostedZoneId(String hostedZoneId)
The ID of the hosted zone that CloudWatch Logs is logging queries for.
hostedZoneId
- The ID of the hosted zone that CloudWatch Logs is logging queries for.public void setCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
cloudWatchLogsLogGroupArn
- The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs
to.public String getCloudWatchLogsLogGroupArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
public QueryLoggingConfig withCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
cloudWatchLogsLogGroupArn
- The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs
to.public String toString()
toString
in class Object
Object.toString()
public QueryLoggingConfig clone()