Interface UpdateServiceLevelObjectiveResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateServiceLevelObjectiveResponse.Builder,
,UpdateServiceLevelObjectiveResponse> SdkBuilder<UpdateServiceLevelObjectiveResponse.Builder,
,UpdateServiceLevelObjectiveResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateServiceLevelObjectiveResponse
@Mutable
@NotThreadSafe
public static interface UpdateServiceLevelObjectiveResponse.Builder
extends ApplicationSignalsResponse.Builder, SdkPojo, CopyableBuilder<UpdateServiceLevelObjectiveResponse.Builder,UpdateServiceLevelObjectiveResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA structure that contains information about the SLO that you just updated.slo
(ServiceLevelObjective slo) A structure that contains information about the SLO that you just updated.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
slo
A structure that contains information about the SLO that you just updated.
- Parameters:
slo
- A structure that contains information about the SLO that you just updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slo
default UpdateServiceLevelObjectiveResponse.Builder slo(Consumer<ServiceLevelObjective.Builder> slo) A structure that contains information about the SLO that you just updated.
This is a convenience method that creates an instance of theServiceLevelObjective.Builder
avoiding the need to create one manually viaServiceLevelObjective.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslo(ServiceLevelObjective)
.- Parameters:
slo
- a consumer that will call methods onServiceLevelObjective.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-