Interface GetV2LoggingOptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetV2LoggingOptionsResponse.Builder,,GetV2LoggingOptionsResponse> IotResponse.Builder,SdkBuilder<GetV2LoggingOptionsResponse.Builder,,GetV2LoggingOptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetV2LoggingOptionsResponse
@Mutable
@NotThreadSafe
public static interface GetV2LoggingOptionsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetV2LoggingOptionsResponse.Builder,GetV2LoggingOptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultLogLevel(String defaultLogLevel) The default log level.defaultLogLevel(LogLevel defaultLogLevel) The default log level.disableAllLogs(Boolean disableAllLogs) Disables all logs.eventConfigurations(Collection<LogEventConfiguration> eventConfigurations) The list of event configurations that override account-level logging.eventConfigurations(Consumer<LogEventConfiguration.Builder>... eventConfigurations) The list of event configurations that override account-level logging.eventConfigurations(LogEventConfiguration... eventConfigurations) The list of event configurations that override account-level logging.The IAM role ARN IoT uses to write to your CloudWatch logs.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
roleArn
The IAM role ARN IoT uses to write to your CloudWatch logs.
- Parameters:
roleArn- The IAM role ARN IoT uses to write to your CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultLogLevel
The default log level.
- Parameters:
defaultLogLevel- The default log level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultLogLevel
The default log level.
- Parameters:
defaultLogLevel- The default log level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disableAllLogs
Disables all logs.
- Parameters:
disableAllLogs- Disables all logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventConfigurations
GetV2LoggingOptionsResponse.Builder eventConfigurations(Collection<LogEventConfiguration> eventConfigurations) The list of event configurations that override account-level logging.
- Parameters:
eventConfigurations- The list of event configurations that override account-level logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventConfigurations
GetV2LoggingOptionsResponse.Builder eventConfigurations(LogEventConfiguration... eventConfigurations) The list of event configurations that override account-level logging.
- Parameters:
eventConfigurations- The list of event configurations that override account-level logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventConfigurations
GetV2LoggingOptionsResponse.Builder eventConfigurations(Consumer<LogEventConfiguration.Builder>... eventConfigurations) The list of event configurations that override account-level logging.
This is a convenience method that creates an instance of theLogEventConfiguration.Builderavoiding the need to create one manually viaLogEventConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventConfigurations(List<LogEventConfiguration>).- Parameters:
eventConfigurations- a consumer that will call methods onLogEventConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-