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