Interface ListQueryLoggingConfigsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListQueryLoggingConfigsResponse.Builder,,ListQueryLoggingConfigsResponse> Route53Response.Builder,SdkBuilder<ListQueryLoggingConfigsResponse.Builder,,ListQueryLoggingConfigsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListQueryLoggingConfigsResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account,NextTokendoesn't appear in the response.queryLoggingConfigs(Collection<QueryLoggingConfig> queryLoggingConfigs) An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.queryLoggingConfigs(Consumer<QueryLoggingConfig.Builder>... queryLoggingConfigs) An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.queryLoggingConfigs(QueryLoggingConfig... queryLoggingConfigs) An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
queryLoggingConfigs
ListQueryLoggingConfigsResponse.Builder queryLoggingConfigs(Collection<QueryLoggingConfig> queryLoggingConfigs) An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.
- Parameters:
queryLoggingConfigs- An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryLoggingConfigs
ListQueryLoggingConfigsResponse.Builder queryLoggingConfigs(QueryLoggingConfig... queryLoggingConfigs) An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.
- Parameters:
queryLoggingConfigs- An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryLoggingConfigs
ListQueryLoggingConfigsResponse.Builder queryLoggingConfigs(Consumer<QueryLoggingConfig.Builder>... queryLoggingConfigs) An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.
This is a convenience method that creates an instance of theQueryLoggingConfig.Builderavoiding the need to create one manually viaQueryLoggingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryLoggingConfigs(List<QueryLoggingConfig>).- Parameters:
queryLoggingConfigs- a consumer that will call methods onQueryLoggingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account,
NextTokendoesn't appear in the response.If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs request. Get the value of
NextTokenthat Amazon Route 53 returned in the previous response and include it inNextTokenin the next request.- Parameters:
nextToken- If a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account,NextTokendoesn't appear in the response.If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs request. Get the value of
NextTokenthat Amazon Route 53 returned in the previous response and include it inNextTokenin the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-