Interface ListConnectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListConnectorsResponse.Builder,
,ListConnectorsResponse> PcaConnectorAdResponse.Builder
,SdkBuilder<ListConnectorsResponse.Builder,
,ListConnectorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListConnectorsResponse
public static interface ListConnectorsResponse.Builder
extends PcaConnectorAdResponse.Builder, SdkPojo, CopyableBuilder<ListConnectorsResponse.Builder,ListConnectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectors
(Collection<ConnectorSummary> connectors) Summary information about each connector you have created.connectors
(Consumer<ConnectorSummary.Builder>... connectors) Summary information about each connector you have created.connectors
(ConnectorSummary... connectors) Summary information about each connector you have created.Use this parameter when paginating results in a subsequent request after you receive a response with truncated results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pcaconnectorad.model.PcaConnectorAdResponse.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 Details
-
connectors
Summary information about each connector you have created.
- Parameters:
connectors
- Summary information about each connector you have created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectors
Summary information about each connector you have created.
- Parameters:
connectors
- Summary information about each connector you have created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectors
Summary information about each connector you have created.
This is a convenience method that creates an instance of theConnectorSummary.Builder
avoiding the need to create one manually viaConnectorSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectors(List<ConnectorSummary>)
.- Parameters:
connectors
- a consumer that will call methods onConnectorSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the NextToken parameter from the response you just received.
- Parameters:
nextToken
- Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the NextToken parameter from the response you just received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-