Interface UpdateLoggingConfigurationResponse.Builder
- All Superinterfaces:
AmpResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateLoggingConfigurationResponse.Builder,
,UpdateLoggingConfigurationResponse> SdkBuilder<UpdateLoggingConfigurationResponse.Builder,
,UpdateLoggingConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateLoggingConfigurationResponse
public static interface UpdateLoggingConfigurationResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<UpdateLoggingConfigurationResponse.Builder,UpdateLoggingConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA structure that contains the current status of the logging configuration.status
(LoggingConfigurationStatus status) A structure that contains the current status of the logging configuration.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
A structure that contains the current status of the logging configuration.
- Parameters:
status
- A structure that contains the current status of the logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default UpdateLoggingConfigurationResponse.Builder status(Consumer<LoggingConfigurationStatus.Builder> status) A structure that contains the current status of the logging configuration.
This is a convenience method that creates an instance of theLoggingConfigurationStatus.Builder
avoiding the need to create one manually viaLoggingConfigurationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(LoggingConfigurationStatus)
.- Parameters:
status
- a consumer that will call methods onLoggingConfigurationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-