Interface ListLinksResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListLinksResponse.Builder,,- ListLinksResponse> - OamResponse.Builder,- SdkBuilder<ListLinksResponse.Builder,,- ListLinksResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListLinksResponse
@Mutable
@NotThreadSafe
public static interface ListLinksResponse.Builder
extends OamResponse.Builder, SdkPojo, CopyableBuilder<ListLinksResponse.Builder,ListLinksResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.oam.model.OamResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
itemsAn 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.
 
- 
itemsAn 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.
 
- 
itemsAn 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 on- ListLinksItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenThe 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.
 
 
-