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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
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.Builderavoiding the need to create one manually viaLoggingConfigurationStatus.builder().When the
Consumercompletes,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:
-