Interface ReportInstrumentationConfigurationStatusResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ReportInstrumentationConfigurationStatusResponse.Builder,,ReportInstrumentationConfigurationStatusResponse> SdkBuilder<ReportInstrumentationConfigurationStatusResponse.Builder,,ReportInstrumentationConfigurationStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ReportInstrumentationConfigurationStatusResponse
@Mutable
@NotThreadSafe
public static interface ReportInstrumentationConfigurationStatusResponse.Builder
extends ApplicationSignalsResponse.Builder, SdkPojo, CopyableBuilder<ReportInstrumentationConfigurationStatusResponse.Builder,ReportInstrumentationConfigurationStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironment(String environment) The environment echoed from the request.The service name echoed from the request.unprocessedStatusEvents(Collection<UnprocessedStatusEvent> unprocessedStatusEvents) Status events that failed to be processed.unprocessedStatusEvents(Consumer<UnprocessedStatusEvent.Builder>... unprocessedStatusEvents) Status events that failed to be processed.unprocessedStatusEvents(UnprocessedStatusEvent... unprocessedStatusEvents) Status events that failed to be processed.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
-
service
The service name echoed from the request.
- Parameters:
service- The service name echoed from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
The environment echoed from the request.
- Parameters:
environment- The environment echoed from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedStatusEvents
ReportInstrumentationConfigurationStatusResponse.Builder unprocessedStatusEvents(Collection<UnprocessedStatusEvent> unprocessedStatusEvents) Status events that failed to be processed. Each entry includes the configuration identifiers, status, timestamp, and a reason for the failure.
- Parameters:
unprocessedStatusEvents- Status events that failed to be processed. Each entry includes the configuration identifiers, status, timestamp, and a reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedStatusEvents
ReportInstrumentationConfigurationStatusResponse.Builder unprocessedStatusEvents(UnprocessedStatusEvent... unprocessedStatusEvents) Status events that failed to be processed. Each entry includes the configuration identifiers, status, timestamp, and a reason for the failure.
- Parameters:
unprocessedStatusEvents- Status events that failed to be processed. Each entry includes the configuration identifiers, status, timestamp, and a reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedStatusEvents
ReportInstrumentationConfigurationStatusResponse.Builder unprocessedStatusEvents(Consumer<UnprocessedStatusEvent.Builder>... unprocessedStatusEvents) Status events that failed to be processed. Each entry includes the configuration identifiers, status, timestamp, and a reason for the failure.
This is a convenience method that creates an instance of theUnprocessedStatusEvent.Builderavoiding the need to create one manually viaUnprocessedStatusEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounprocessedStatusEvents(List<UnprocessedStatusEvent>).- Parameters:
unprocessedStatusEvents- a consumer that will call methods onUnprocessedStatusEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-