Interface ListClusterOperationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListClusterOperationsResponse.Builder,ListClusterOperationsResponse>
,KafkaResponse.Builder
,SdkBuilder<ListClusterOperationsResponse.Builder,ListClusterOperationsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListClusterOperationsResponse
public static interface ListClusterOperationsResponse.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<ListClusterOperationsResponse.Builder,ListClusterOperationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClusterOperationsResponse.Builder
clusterOperationInfoList(Collection<ClusterOperationInfo> clusterOperationInfoList)
An array of cluster operation information objects.ListClusterOperationsResponse.Builder
clusterOperationInfoList(Consumer<ClusterOperationInfo.Builder>... clusterOperationInfoList)
An array of cluster operation information objects.ListClusterOperationsResponse.Builder
clusterOperationInfoList(ClusterOperationInfo... clusterOperationInfoList)
An array of cluster operation information objects.ListClusterOperationsResponse.Builder
nextToken(String nextToken)
If the response of ListClusterOperations 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
clusterOperationInfoList
ListClusterOperationsResponse.Builder clusterOperationInfoList(Collection<ClusterOperationInfo> 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
ListClusterOperationsResponse.Builder clusterOperationInfoList(ClusterOperationInfo... 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
ListClusterOperationsResponse.Builder clusterOperationInfoList(Consumer<ClusterOperationInfo.Builder>... clusterOperationInfoList)
An array of cluster operation information objects.
This is a convenience method that creates an instance of theClusterOperationInfo.Builder
avoiding the need to create one manually viaClusterOperationInfo.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 onClusterOperationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#clusterOperationInfoList(java.util.Collection
)
-
nextToken
ListClusterOperationsResponse.Builder nextToken(String nextToken)
If the response of ListClusterOperations is truncated, it returns a NextToken in the response. This Nexttoken should be sent in the subsequent request to ListClusterOperations.
- Parameters:
nextToken
-If the response of ListClusterOperations is truncated, it returns a NextToken in the response. This Nexttoken should be sent in the subsequent request to ListClusterOperations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-