Interface ListV2LoggingLevelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListV2LoggingLevelsResponse.Builder,,ListV2LoggingLevelsResponse> IotResponse.Builder,SdkBuilder<ListV2LoggingLevelsResponse.Builder,,ListV2LoggingLevelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListV2LoggingLevelsResponse
public static interface ListV2LoggingLevelsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListV2LoggingLevelsResponse.Builder,ListV2LoggingLevelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlogTargetConfigurations(Collection<LogTargetConfiguration> logTargetConfigurations) The logging configuration for a target.logTargetConfigurations(Consumer<LogTargetConfiguration.Builder>... logTargetConfigurations) The logging configuration for a target.logTargetConfigurations(LogTargetConfiguration... logTargetConfigurations) The logging configuration for a target.The token to use to get the next set of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
logTargetConfigurations
ListV2LoggingLevelsResponse.Builder logTargetConfigurations(Collection<LogTargetConfiguration> logTargetConfigurations) The logging configuration for a target.
- Parameters:
logTargetConfigurations- The logging configuration for a target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logTargetConfigurations
ListV2LoggingLevelsResponse.Builder logTargetConfigurations(LogTargetConfiguration... logTargetConfigurations) The logging configuration for a target.
- Parameters:
logTargetConfigurations- The logging configuration for a target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logTargetConfigurations
ListV2LoggingLevelsResponse.Builder logTargetConfigurations(Consumer<LogTargetConfiguration.Builder>... logTargetConfigurations) The logging configuration for a target.
This is a convenience method that creates an instance of theLogTargetConfiguration.Builderavoiding the need to create one manually viaLogTargetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologTargetConfigurations(List<LogTargetConfiguration>).- Parameters:
logTargetConfigurations- a consumer that will call methods onLogTargetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next set of results, or null if there are no additional results.
- Parameters:
nextToken- The token to use to get the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-