@Generated(value="software.amazon.awssdk:codegen") public final class CreateQueryLoggingConfigRequest extends Route53Request implements ToCopyableBuilder<CreateQueryLoggingConfigRequest.Builder,CreateQueryLoggingConfigRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateQueryLoggingConfigRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateQueryLoggingConfigRequest.Builder |
builder() |
String |
cloudWatchLogsLogGroupArn()
The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
hostedZoneId()
The ID of the hosted zone that you want to log queries for.
|
static Class<? extends CreateQueryLoggingConfigRequest.Builder> |
serializableBuilderClass() |
CreateQueryLoggingConfigRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String hostedZoneId()
The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.
public String cloudWatchLogsLogGroupArn()
The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to. This is the format of the ARN:
arn:aws:logs:region:account-id:log-group:log_group_name
To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups command, or the applicable command in one of the AWS SDKs.
arn:aws:logs:region:account-id:log-group:log_group_name
To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups command, or the applicable command in one of the AWS SDKs.
public CreateQueryLoggingConfigRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateQueryLoggingConfigRequest.Builder,CreateQueryLoggingConfigRequest>
toBuilder
in class Route53Request
public static CreateQueryLoggingConfigRequest.Builder builder()
public static Class<? extends CreateQueryLoggingConfigRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.