Interface ListArchivesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListArchivesResponse.Builder,
,ListArchivesResponse> EventBridgeResponse.Builder
,SdkBuilder<ListArchivesResponse.Builder,
,ListArchivesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListArchivesResponse
public static interface ListArchivesResponse.Builder
extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<ListArchivesResponse.Builder,ListArchivesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionarchives
(Collection<Archive> archives) An array ofArchive
objects that include details about an archive.archives
(Consumer<Archive.Builder>... archives) An array ofArchive
objects that include details about an archive.An array ofArchive
objects that include details about an archive.The token returned by a previous call to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.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 Details
-
archives
An array of
Archive
objects that include details about an archive.- Parameters:
archives
- An array ofArchive
objects that include details about an archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archives
An array of
Archive
objects that include details about an archive.- Parameters:
archives
- An array ofArchive
objects that include details about an archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archives
An array of
This is a convenience method that creates an instance of theArchive
objects that include details about an archive.Archive.Builder
avoiding the need to create one manually viaArchive.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toarchives(List<Archive>)
.- Parameters:
archives
- a consumer that will call methods onArchive.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token returned by a previous call to retrieve the next set of results.
- Parameters:
nextToken
- The token returned by a previous call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-