Interface ListConnectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListConnectorsResponse.Builder,,ListConnectorsResponse> Inspector2Response.Builder,SdkBuilder<ListConnectorsResponse.Builder,,ListConnectorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListConnectorsResponse
@Mutable
@NotThreadSafe
public static interface ListConnectorsResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListConnectorsResponse.Builder,ListConnectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<Connector> items) A list of connectors.items(Consumer<Connector.Builder>... items) A list of connectors.A list of connectors.A pagination token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
A list of connectors.
- Parameters:
items- A list of connectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of connectors.
- Parameters:
items- A list of connectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of connectors.
This is a convenience method that creates an instance of theConnector.Builderavoiding the need to create one manually viaConnector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<Connector>).- Parameters:
items- a consumer that will call methods onConnector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token. If this value is not null, there are additional results available. Use this token in the
nextTokenparameter of a subsequent request to retrieve the next page of results.- Parameters:
nextToken- A pagination token. If this value is not null, there are additional results available. Use this token in thenextTokenparameter of a subsequent request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-