Interface ListManagedEndpointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListManagedEndpointsResponse.Builder,,ListManagedEndpointsResponse> EmrContainersResponse.Builder,SdkBuilder<ListManagedEndpointsResponse.Builder,,ListManagedEndpointsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListManagedEndpointsResponse
@Mutable
@NotThreadSafe
public static interface ListManagedEndpointsResponse.Builder
extends EmrContainersResponse.Builder, SdkPojo, CopyableBuilder<ListManagedEndpointsResponse.Builder,ListManagedEndpointsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpoints(Collection<Endpoint> endpoints) The managed endpoints to be listed.endpoints(Consumer<Endpoint.Builder>... endpoints) The managed endpoints to be listed.The managed endpoints to be listed.The token for the next set of endpoints to return.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
endpoints
The managed endpoints to be listed.
- Parameters:
endpoints- The managed endpoints to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The managed endpoints to be listed.
- Parameters:
endpoints- The managed endpoints to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The managed endpoints to be listed.
This is a convenience method that creates an instance of theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoints(List<Endpoint>).- Parameters:
endpoints- a consumer that will call methods onEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of endpoints to return.
- Parameters:
nextToken- The token for the next set of endpoints to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-