Interface ListQueuesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListQueuesResponse.Builder,ListQueuesResponse>,PcsResponse.Builder,SdkBuilder<ListQueuesResponse.Builder,ListQueuesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListQueuesResponse
public static interface ListQueuesResponse.Builder extends PcsResponse.Builder, SdkPojo, CopyableBuilder<ListQueuesResponse.Builder,ListQueuesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListQueuesResponse.BuildernextToken(String nextToken)The value ofnextTokenis a unique pagination token for each page of results returned.ListQueuesResponse.Builderqueues(Collection<QueueSummary> queues)The list of queues associated with the cluster.ListQueuesResponse.Builderqueues(Consumer<QueueSummary.Builder>... queues)The list of queues associated with the cluster.ListQueuesResponse.Builderqueues(QueueSummary... queues)The list of queues associated with the cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pcs.model.PcsResponse.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
-
queues
ListQueuesResponse.Builder queues(Collection<QueueSummary> queues)
The list of queues associated with the cluster.
- Parameters:
queues- The list of queues associated with the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queues
ListQueuesResponse.Builder queues(QueueSummary... queues)
The list of queues associated with the cluster.
- Parameters:
queues- The list of queues associated with the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queues
ListQueuesResponse.Builder queues(Consumer<QueueSummary.Builder>... queues)
The list of queues associated with the cluster.
This is a convenience method that creates an instance of theQueueSummary.Builderavoiding the need to create one manually viaQueueSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#queues(List.) - Parameters:
queues- a consumer that will call methods onQueueSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#queues(java.util.Collection)
-
nextToken
ListQueuesResponse.Builder nextToken(String nextToken)
The value of
nextTokenis a unique pagination token for each page of results returned. IfnextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns anHTTP 400 InvalidTokenerror.- Parameters:
nextToken- The value ofnextTokenis a unique pagination token for each page of results returned. IfnextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns anHTTP 400 InvalidTokenerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-