Interface ReportInstrumentationConfigurationStatusRequest.Builder
- All Superinterfaces:
ApplicationSignalsRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ReportInstrumentationConfigurationStatusRequest.Builder,,ReportInstrumentationConfigurationStatusRequest> SdkBuilder<ReportInstrumentationConfigurationStatusRequest.Builder,,ReportInstrumentationConfigurationStatusRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ReportInstrumentationConfigurationStatusRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigurations(Collection<InstrumentationConfigurationStatusReport> configurations) An array of configuration status reports (up to 100) that include the instrumentation type, signal type, location hash, status, timestamp, and optional error cause.configurations(Consumer<InstrumentationConfigurationStatusReport.Builder>... configurations) An array of configuration status reports (up to 100) that include the instrumentation type, signal type, location hash, status, timestamp, and optional error cause.configurations(InstrumentationConfigurationStatusReport... configurations) An array of configuration status reports (up to 100) that include the instrumentation type, signal type, location hash, status, timestamp, and optional error cause.environment(String environment) The environment that the service is running in.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The service that the reported configurations belong to.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
Method Details
-
service
The service that the reported configurations belong to.
- Parameters:
service- The service that the reported configurations belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
The environment that the service is running in.
- Parameters:
environment- The environment that the service is running in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
ReportInstrumentationConfigurationStatusRequest.Builder configurations(Collection<InstrumentationConfigurationStatusReport> configurations) An array of configuration status reports (up to 100) that include the instrumentation type, signal type, location hash, status, timestamp, and optional error cause.
- Parameters:
configurations- An array of configuration status reports (up to 100) that include the instrumentation type, signal type, location hash, status, timestamp, and optional error cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
ReportInstrumentationConfigurationStatusRequest.Builder configurations(InstrumentationConfigurationStatusReport... configurations) An array of configuration status reports (up to 100) that include the instrumentation type, signal type, location hash, status, timestamp, and optional error cause.
- Parameters:
configurations- An array of configuration status reports (up to 100) that include the instrumentation type, signal type, location hash, status, timestamp, and optional error cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
ReportInstrumentationConfigurationStatusRequest.Builder configurations(Consumer<InstrumentationConfigurationStatusReport.Builder>... configurations) An array of configuration status reports (up to 100) that include the instrumentation type, signal type, location hash, status, timestamp, and optional error cause.
This is a convenience method that creates an instance of theInstrumentationConfigurationStatusReport.Builderavoiding the need to create one manually viaInstrumentationConfigurationStatusReport.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurations(List<InstrumentationConfigurationStatusReport>).- Parameters:
configurations- a consumer that will call methods onInstrumentationConfigurationStatusReport.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ReportInstrumentationConfigurationStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ReportInstrumentationConfigurationStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-