Interface GetServiceLevelObjectiveResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetServiceLevelObjectiveResponse.Builder,,GetServiceLevelObjectiveResponse> SdkBuilder<GetServiceLevelObjectiveResponse.Builder,,GetServiceLevelObjectiveResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetServiceLevelObjectiveResponse
public static interface GetServiceLevelObjectiveResponse.Builder
extends ApplicationSignalsResponse.Builder, SdkPojo, CopyableBuilder<GetServiceLevelObjectiveResponse.Builder,GetServiceLevelObjectiveResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA structure containing the information about the SLO.slo(ServiceLevelObjective slo) A structure containing the information about the SLO.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 containing the information about the SLO.
- Parameters:
slo- A structure containing the information about the SLO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slo
A structure containing the information about the SLO.
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:
-