Interface CreateServiceLevelObjectiveResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateServiceLevelObjectiveResponse.Builder,
,CreateServiceLevelObjectiveResponse> SdkBuilder<CreateServiceLevelObjectiveResponse.Builder,
,CreateServiceLevelObjectiveResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateServiceLevelObjectiveResponse
@Mutable
@NotThreadSafe
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, 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 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.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:
-