Interface ListServiceLevelObjectivesResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListServiceLevelObjectivesResponse.Builder,,ListServiceLevelObjectivesResponse> SdkBuilder<ListServiceLevelObjectivesResponse.Builder,,ListServiceLevelObjectivesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListServiceLevelObjectivesResponse
public static interface ListServiceLevelObjectivesResponse.Builder
extends ApplicationSignalsResponse.Builder, SdkPojo, CopyableBuilder<ListServiceLevelObjectivesResponse.Builder,ListServiceLevelObjectivesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionInclude this value in your next use of this API to get next set of service level objectives.sloSummaries(Collection<ServiceLevelObjectiveSummary> sloSummaries) An array of structures, where each structure contains information about one SLO.sloSummaries(Consumer<ServiceLevelObjectiveSummary.Builder>... sloSummaries) An array of structures, where each structure contains information about one SLO.sloSummaries(ServiceLevelObjectiveSummary... sloSummaries) An array of structures, where each structure contains information about one 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
-
sloSummaries
ListServiceLevelObjectivesResponse.Builder sloSummaries(Collection<ServiceLevelObjectiveSummary> sloSummaries) An array of structures, where each structure contains information about one SLO.
- Parameters:
sloSummaries- An array of structures, where each structure contains information about one SLO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sloSummaries
ListServiceLevelObjectivesResponse.Builder sloSummaries(ServiceLevelObjectiveSummary... sloSummaries) An array of structures, where each structure contains information about one SLO.
- Parameters:
sloSummaries- An array of structures, where each structure contains information about one SLO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sloSummaries
ListServiceLevelObjectivesResponse.Builder sloSummaries(Consumer<ServiceLevelObjectiveSummary.Builder>... sloSummaries) An array of structures, where each structure contains information about one SLO.
This is a convenience method that creates an instance of theServiceLevelObjectiveSummary.Builderavoiding the need to create one manually viaServiceLevelObjectiveSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosloSummaries(List<ServiceLevelObjectiveSummary>).- Parameters:
sloSummaries- a consumer that will call methods onServiceLevelObjectiveSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Include this value in your next use of this API to get next set of service level objectives.
- Parameters:
nextToken- Include this value in your next use of this API to get next set of service level objectives.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-