Interface ListEndpointsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEndpointsResponse.Builder,ListEndpointsResponse>,EventBridgeResponse.Builder,SdkBuilder<ListEndpointsResponse.Builder,ListEndpointsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEndpointsResponse
public static interface ListEndpointsResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<ListEndpointsResponse.Builder,ListEndpointsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEndpointsResponse.Builderendpoints(Collection<Endpoint> endpoints)The endpoints returned by the call.ListEndpointsResponse.Builderendpoints(Consumer<Endpoint.Builder>... endpoints)The endpoints returned by the call.ListEndpointsResponse.Builderendpoints(Endpoint... endpoints)The endpoints returned by the call.ListEndpointsResponse.BuildernextToken(String nextToken)A token indicating there are more results available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
-
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 Detail
-
endpoints
ListEndpointsResponse.Builder endpoints(Collection<Endpoint> endpoints)
The endpoints returned by the call.
- Parameters:
endpoints- The endpoints returned by the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
ListEndpointsResponse.Builder endpoints(Endpoint... endpoints)
The endpoints returned by the call.
- Parameters:
endpoints- The endpoints returned by the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
ListEndpointsResponse.Builder endpoints(Consumer<Endpoint.Builder>... endpoints)
The endpoints returned by the call.
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 to#endpoints(List.) - 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:
#endpoints(java.util.Collection)
-
nextToken
ListEndpointsResponse.Builder nextToken(String nextToken)
A token indicating there are more results available. If there are no more results, no token is included in the response.
The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Parameters:
nextToken- A token indicating there are more results available. If there are no more results, no token is included in the response.The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-