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 of the time period that the returned information applies to.Include this value in your next use of this API to get the next set of service states.serviceStates
(Collection<ServiceState> serviceStates) An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.serviceStates
(Consumer<ServiceState.Builder>... serviceStates) An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.serviceStates
(ServiceState... serviceStates) An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.The start of the time period that the returned information applies to.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
-
startTime
The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example,
1698778057
.- Parameters:
startTime
- The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example,1698778057
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example,
1698778057
.- Parameters:
endTime
- The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example,1698778057
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceStates
An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.
- Parameters:
serviceStates
- An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceStates
An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.
- Parameters:
serviceStates
- An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceStates
An array of structures, where each structure contains information about the state of one service, including its latest change events such as deployments.
This is a convenience method that creates an instance of theServiceState.Builder
avoiding the need to create one manually viaServiceState.builder()
.When the
Consumer
completes,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
Include this value in your next use of this API to get the next set of service states.
- Parameters:
nextToken
- Include this value in your next use of this API to get the next set of service states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-