Interface ListServiceStatesResponse.Builder
- All Superinterfaces:
ApplicationSignalsResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListServiceStatesResponse.Builder,,ListServiceStatesResponse> SdkBuilder<ListServiceStatesResponse.Builder,,ListServiceStatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListServiceStatesResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe end time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.The token to use for retrieving the next page of results.serviceStates(Collection<ServiceState> serviceStates) An array of service state objects that match the specified criteria.serviceStates(Consumer<ServiceState.Builder>... serviceStates) An array of service state objects that match the specified criteria.serviceStates(ServiceState... serviceStates) An array of service state objects that match the specified criteria.The start time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
startTime
The start time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.
- Parameters:
startTime- The start time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.
- Parameters:
endTime- The end time of the query range, expressed as the number of milliseconds since January 1, 1970, 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceStates
An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.
- Parameters:
serviceStates- An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceStates
An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.
- Parameters:
serviceStates- An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceStates
An array of service state objects that match the specified criteria. Each service state includes current status, recent change events, and service metadata.
This is a convenience method that creates an instance of theServiceState.Builderavoiding the need to create one manually viaServiceState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceStates(List<ServiceState>).- Parameters:
serviceStates- a consumer that will call methods onServiceState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use for retrieving the next page of results. This value is present only if there are more results available than were returned in the current response.
- Parameters:
nextToken- The token to use for retrieving the next page of results. This value is present only if there are more results available than were returned in the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-