Interface UpdateServiceLevelObjectiveResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateServiceLevelObjectiveResponse.Builder,,UpdateServiceLevelObjectiveResponse> SdkBuilder<UpdateServiceLevelObjectiveResponse.Builder,,UpdateServiceLevelObjectiveResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateServiceLevelObjectiveResponse
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, 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
-
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.Builderavoiding the need to create one manually viaServiceLevelObjective.builder().When the
Consumercompletes,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:
-