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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLinksResponse.Builderitems(Collection<ListLinksItem> items)An array of structures that contain the information about the returned links.ListLinksResponse.Builderitems(Consumer<ListLinksItem.Builder>... items)An array of structures that contain the information about the returned links.ListLinksResponse.Builderitems(ListLinksItem... items)An array of structures that contain the information about the returned links.ListLinksResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of links.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.oam.model.OamResponse.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
-
items
ListLinksResponse.Builder items(Collection<ListLinksItem> 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
ListLinksResponse.Builder items(ListLinksItem... 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
ListLinksResponse.Builder items(Consumer<ListLinksItem.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
nextToken
ListLinksResponse.Builder nextToken(String 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.
-
-