Interface ListLinksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLinksResponse.Builder,,ListLinksResponse> OamResponse.Builder,SdkBuilder<ListLinksResponse.Builder,,ListLinksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLinksResponse
public static interface ListLinksResponse.Builder
extends OamResponse.Builder, SdkPojo, CopyableBuilder<ListLinksResponse.Builder,ListLinksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ListLinksItem> items) An array of structures that contain the information about the returned links.items(Consumer<ListLinksItem.Builder>... items) An array of structures that contain the information about the returned links.items(ListLinksItem... items) An array of structures that contain the information about the returned links.The token to use when requesting the next set of links.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.oam.model.OamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
An array of structures that contain the information about the returned links.
- Parameters:
items- An array of structures that contain the information about the returned links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of structures that contain the information about the returned links.
- Parameters:
items- An array of structures that contain the information about the returned links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of structures that contain the information about the returned links.
This is a convenience method that creates an instance of theListLinksItem.Builderavoiding the need to create one manually viaListLinksItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ListLinksItem>).- Parameters:
items- a consumer that will call methods onListLinksItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of links.
- Parameters:
nextToken- The token to use when requesting the next set of links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-