Interface ListEndpointAccessResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEndpointAccessResponse.Builder,ListEndpointAccessResponse>,RedshiftServerlessResponse.Builder,SdkBuilder<ListEndpointAccessResponse.Builder,ListEndpointAccessResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEndpointAccessResponse
public static interface ListEndpointAccessResponse.Builder extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListEndpointAccessResponse.Builder,ListEndpointAccessResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEndpointAccessResponse.Builderendpoints(Collection<EndpointAccess> endpoints)The returned VPC endpoints.ListEndpointAccessResponse.Builderendpoints(Consumer<EndpointAccess.Builder>... endpoints)The returned VPC endpoints.ListEndpointAccessResponse.Builderendpoints(EndpointAccess... endpoints)The returned VPC endpoints.ListEndpointAccessResponse.BuildernextToken(String nextToken)WhennextTokenis returned, there are more results available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
endpoints
ListEndpointAccessResponse.Builder endpoints(Collection<EndpointAccess> endpoints)
The returned VPC endpoints.
- Parameters:
endpoints- The returned VPC endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
ListEndpointAccessResponse.Builder endpoints(EndpointAccess... endpoints)
The returned VPC endpoints.
- Parameters:
endpoints- The returned VPC endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
ListEndpointAccessResponse.Builder endpoints(Consumer<EndpointAccess.Builder>... endpoints)
The returned VPC endpoints.
This is a convenience method that creates an instance of theEndpointAccess.Builderavoiding the need to create one manually viaEndpointAccess.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 onEndpointAccess.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#endpoints(java.util.Collection)
-
nextToken
ListEndpointAccessResponse.Builder nextToken(String nextToken)
When
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-