Class CreateQueryLoggingConfigRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.route53.model.Route53Request
-
- software.amazon.awssdk.services.route53.model.CreateQueryLoggingConfigRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateQueryLoggingConfigRequest.Builder,CreateQueryLoggingConfigRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateQueryLoggingConfigRequest extends Route53Request implements ToCopyableBuilder<CreateQueryLoggingConfigRequest.Builder,CreateQueryLoggingConfigRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateQueryLoggingConfigRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateQueryLoggingConfigRequest.Builderbuilder()StringcloudWatchLogsLogGroupArn()The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhostedZoneId()The ID of the hosted zone that you want to log queries for.List<SdkField<?>>sdkFields()static Class<? extends CreateQueryLoggingConfigRequest.Builder>serializableBuilderClass()CreateQueryLoggingConfigRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hostedZoneId
public final String hostedZoneId()
The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.
- Returns:
- The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.
-
cloudWatchLogsLogGroupArn
public final 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 Amazon Web Services SDKs.
- Returns:
- 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 Amazon Web Services SDKs.
-
toBuilder
public CreateQueryLoggingConfigRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateQueryLoggingConfigRequest.Builder,CreateQueryLoggingConfigRequest>- Specified by:
toBuilderin classRoute53Request
-
builder
public static CreateQueryLoggingConfigRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateQueryLoggingConfigRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-