Interface GetInstrumentationConfigurationResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetInstrumentationConfigurationResponse.Builder,,GetInstrumentationConfigurationResponse> SdkBuilder<GetInstrumentationConfigurationResponse.Builder,,GetInstrumentationConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetInstrumentationConfigurationResponse
@Mutable
@NotThreadSafe
public static interface GetInstrumentationConfigurationResponse.Builder
extends ApplicationSignalsResponse.Builder, SdkPojo, CopyableBuilder<GetInstrumentationConfigurationResponse.Builder,GetInstrumentationConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Consumer<InstrumentationConfiguration.Builder> configuration) The complete instrumentation configuration, including its location hash, capture settings, filters, expiration, and creation time.configuration(InstrumentationConfiguration configuration) The complete instrumentation configuration, including its location hash, capture settings, filters, expiration, and creation time.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configuration
GetInstrumentationConfigurationResponse.Builder configuration(InstrumentationConfiguration configuration) The complete instrumentation configuration, including its location hash, capture settings, filters, expiration, and creation time.
- Parameters:
configuration- The complete instrumentation configuration, including its location hash, capture settings, filters, expiration, and creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetInstrumentationConfigurationResponse.Builder configuration(Consumer<InstrumentationConfiguration.Builder> configuration) The complete instrumentation configuration, including its location hash, capture settings, filters, expiration, and creation time.
This is a convenience method that creates an instance of theInstrumentationConfiguration.Builderavoiding the need to create one manually viaInstrumentationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(InstrumentationConfiguration).- Parameters:
configuration- a consumer that will call methods onInstrumentationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-