Interface ListAttachedLinksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAttachedLinksResponse.Builder,ListAttachedLinksResponse>,OamResponse.Builder,SdkBuilder<ListAttachedLinksResponse.Builder,ListAttachedLinksResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAttachedLinksResponse
public static interface ListAttachedLinksResponse.Builder extends OamResponse.Builder, SdkPojo, CopyableBuilder<ListAttachedLinksResponse.Builder,ListAttachedLinksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAttachedLinksResponse.Builderitems(Collection<ListAttachedLinksItem> items)An array of structures that contain the information about the attached links.ListAttachedLinksResponse.Builderitems(Consumer<ListAttachedLinksItem.Builder>... items)An array of structures that contain the information about the attached links.ListAttachedLinksResponse.Builderitems(ListAttachedLinksItem... items)An array of structures that contain the information about the attached links.ListAttachedLinksResponse.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
ListAttachedLinksResponse.Builder items(Collection<ListAttachedLinksItem> items)
An array of structures that contain the information about the attached links.
- Parameters:
items- An array of structures that contain the information about the attached links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListAttachedLinksResponse.Builder items(ListAttachedLinksItem... items)
An array of structures that contain the information about the attached links.
- Parameters:
items- An array of structures that contain the information about the attached links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListAttachedLinksResponse.Builder items(Consumer<ListAttachedLinksItem.Builder>... items)
An array of structures that contain the information about the attached links.
This is a convenience method that creates an instance of theListAttachedLinksItem.Builderavoiding the need to create one manually viaListAttachedLinksItem.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 onListAttachedLinksItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListAttachedLinksResponse.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.
-
-