Interface GetInstancesHealthStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetInstancesHealthStatusResponse.Builder,,GetInstancesHealthStatusResponse> SdkBuilder<GetInstancesHealthStatusResponse.Builder,,GetInstancesHealthStatusResponse> SdkPojo,SdkResponse.Builder,ServiceDiscoveryResponse.Builder
- Enclosing class:
GetInstancesHealthStatusResponse
@Mutable
@NotThreadSafe
public static interface GetInstancesHealthStatusResponse.Builder
extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<GetInstancesHealthStatusResponse.Builder,GetInstancesHealthStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf more thanMaxResultsinstances match the specified criteria, you can submit anotherGetInstancesHealthStatusrequest to get the next group of results.status(Map<String, HealthStatus> status) A complex type that contains the IDs and the health status of the instances that you specified in theGetInstancesHealthStatusrequest.statusWithStrings(Map<String, String> status) A complex type that contains the IDs and the health status of the instances that you specified in theGetInstancesHealthStatusrequest.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
statusWithStrings
A complex type that contains the IDs and the health status of the instances that you specified in the
GetInstancesHealthStatusrequest.- Parameters:
status- A complex type that contains the IDs and the health status of the instances that you specified in theGetInstancesHealthStatusrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
A complex type that contains the IDs and the health status of the instances that you specified in the
GetInstancesHealthStatusrequest.- Parameters:
status- A complex type that contains the IDs and the health status of the instances that you specified in theGetInstancesHealthStatusrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If more than
MaxResultsinstances match the specified criteria, you can submit anotherGetInstancesHealthStatusrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.- Parameters:
nextToken- If more thanMaxResultsinstances match the specified criteria, you can submit anotherGetInstancesHealthStatusrequest to get the next group of results. Specify the value ofNextTokenfrom the previous response in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-