Interface CreateLoggingConfigurationResponse.Builder
- All Superinterfaces:
AmpResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateLoggingConfigurationResponse.Builder,,CreateLoggingConfigurationResponse> SdkBuilder<CreateLoggingConfigurationResponse.Builder,,CreateLoggingConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateLoggingConfigurationResponse
public static interface CreateLoggingConfigurationResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<CreateLoggingConfigurationResponse.Builder,CreateLoggingConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA structure that displays the current status of the logging configuration.status(LoggingConfigurationStatus status) A structure that displays 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 displays the current status of the logging configuration.
- Parameters:
status- A structure that displays the current status of the logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default CreateLoggingConfigurationResponse.Builder status(Consumer<LoggingConfigurationStatus.Builder> status) A structure that displays 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:
-