Interface DescribeLoggingOptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeLoggingOptionsResponse.Builder,,DescribeLoggingOptionsResponse> IotEventsResponse.Builder,SdkBuilder<DescribeLoggingOptionsResponse.Builder,,DescribeLoggingOptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeLoggingOptionsResponse
public static interface DescribeLoggingOptionsResponse.Builder
extends IotEventsResponse.Builder, SdkPojo, CopyableBuilder<DescribeLoggingOptionsResponse.Builder,DescribeLoggingOptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionloggingOptions(Consumer<LoggingOptions.Builder> loggingOptions) The current settings of the AWS IoT Events logging options.loggingOptions(LoggingOptions loggingOptions) The current settings of the AWS IoT Events logging options.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotevents.model.IotEventsResponse.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
-
loggingOptions
The current settings of the AWS IoT Events logging options.
- Parameters:
loggingOptions- The current settings of the AWS IoT Events logging options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingOptions
default DescribeLoggingOptionsResponse.Builder loggingOptions(Consumer<LoggingOptions.Builder> loggingOptions) The current settings of the AWS IoT Events logging options.
This is a convenience method that creates an instance of theLoggingOptions.Builderavoiding the need to create one manually viaLoggingOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingOptions(LoggingOptions).- Parameters:
loggingOptions- a consumer that will call methods onLoggingOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-