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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListArchivesResponse.Builderarchives(Collection<Archive> archives)An array ofArchiveobjects that include details about an archive.ListArchivesResponse.Builderarchives(Consumer<Archive.Builder>... archives)An array ofArchiveobjects that include details about an archive.ListArchivesResponse.Builderarchives(Archive... archives)An array ofArchiveobjects that include details about an archive.ListArchivesResponse.BuildernextToken(String nextToken)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 Detail
-
archives
ListArchivesResponse.Builder archives(Collection<Archive> archives)
An array of
Archiveobjects that include details about an archive.- Parameters:
archives- An array ofArchiveobjects that include details about an archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archives
ListArchivesResponse.Builder archives(Archive... archives)
An array of
Archiveobjects that include details about an archive.- Parameters:
archives- An array ofArchiveobjects that include details about an archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archives
ListArchivesResponse.Builder archives(Consumer<Archive.Builder>... archives)
An array of
This is a convenience method that creates an instance of theArchiveobjects that include details about an archive.Archive.Builderavoiding the need to create one manually viaArchive.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#archives(List.) - 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:
#archives(java.util.Collection)
-
nextToken
ListArchivesResponse.Builder nextToken(String 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.
-
-