Interface ListClusterOperationsV2Response.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListClusterOperationsV2Response.Builder,ListClusterOperationsV2Response>
,KafkaResponse.Builder
,SdkBuilder<ListClusterOperationsV2Response.Builder,ListClusterOperationsV2Response>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListClusterOperationsV2Response
public static interface ListClusterOperationsV2Response.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<ListClusterOperationsV2Response.Builder,ListClusterOperationsV2Response>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClusterOperationsV2Response.Builder
clusterOperationInfoList(Collection<ClusterOperationV2Summary> clusterOperationInfoList)
An array of cluster operation information objects.ListClusterOperationsV2Response.Builder
clusterOperationInfoList(Consumer<ClusterOperationV2Summary.Builder>... clusterOperationInfoList)
An array of cluster operation information objects.ListClusterOperationsV2Response.Builder
clusterOperationInfoList(ClusterOperationV2Summary... clusterOperationInfoList)
An array of cluster operation information objects.ListClusterOperationsV2Response.Builder
nextToken(String nextToken)
If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.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
-
clusterOperationInfoList
ListClusterOperationsV2Response.Builder clusterOperationInfoList(Collection<ClusterOperationV2Summary> clusterOperationInfoList)
An array of cluster operation information objects.
- Parameters:
clusterOperationInfoList
-An array of cluster operation information objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterOperationInfoList
ListClusterOperationsV2Response.Builder clusterOperationInfoList(ClusterOperationV2Summary... clusterOperationInfoList)
An array of cluster operation information objects.
- Parameters:
clusterOperationInfoList
-An array of cluster operation information objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterOperationInfoList
ListClusterOperationsV2Response.Builder clusterOperationInfoList(Consumer<ClusterOperationV2Summary.Builder>... clusterOperationInfoList)
An array of cluster operation information objects.
This is a convenience method that creates an instance of theClusterOperationV2Summary.Builder
avoiding the need to create one manually viaClusterOperationV2Summary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#clusterOperationInfoList(List
.) - Parameters:
clusterOperationInfoList
- a consumer that will call methods onClusterOperationV2Summary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#clusterOperationInfoList(java.util.Collection
)
-
nextToken
ListClusterOperationsV2Response.Builder nextToken(String nextToken)
If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListClusterOperationsV2.
- Parameters:
nextToken
-If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListClusterOperationsV2.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-