Interface ListIndexedRecoveryPointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListIndexedRecoveryPointsResponse.Builder,,ListIndexedRecoveryPointsResponse> SdkBuilder<ListIndexedRecoveryPointsResponse.Builder,,ListIndexedRecoveryPointsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListIndexedRecoveryPointsResponse
-
Method Summary
Modifier and TypeMethodDescriptionindexedRecoveryPoints(Collection<IndexedRecoveryPoint> indexedRecoveryPoints) This is a list of recovery points that have an associated index, belonging to the specified account.indexedRecoveryPoints(Consumer<IndexedRecoveryPoint.Builder>... indexedRecoveryPoints) This is a list of recovery points that have an associated index, belonging to the specified account.indexedRecoveryPoints(IndexedRecoveryPoint... indexedRecoveryPoints) This is a list of recovery points that have an associated index, belonging to the specified account.The next item following a partial list of returned recovery points.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
indexedRecoveryPoints
ListIndexedRecoveryPointsResponse.Builder indexedRecoveryPoints(Collection<IndexedRecoveryPoint> indexedRecoveryPoints) This is a list of recovery points that have an associated index, belonging to the specified account.
- Parameters:
indexedRecoveryPoints- This is a list of recovery points that have an associated index, belonging to the specified account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexedRecoveryPoints
ListIndexedRecoveryPointsResponse.Builder indexedRecoveryPoints(IndexedRecoveryPoint... indexedRecoveryPoints) This is a list of recovery points that have an associated index, belonging to the specified account.
- Parameters:
indexedRecoveryPoints- This is a list of recovery points that have an associated index, belonging to the specified account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexedRecoveryPoints
ListIndexedRecoveryPointsResponse.Builder indexedRecoveryPoints(Consumer<IndexedRecoveryPoint.Builder>... indexedRecoveryPoints) This is a list of recovery points that have an associated index, belonging to the specified account.
This is a convenience method that creates an instance of theIndexedRecoveryPoint.Builderavoiding the need to create one manually viaIndexedRecoveryPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindexedRecoveryPoints(List<IndexedRecoveryPoint>).- Parameters:
indexedRecoveryPoints- a consumer that will call methods onIndexedRecoveryPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The next item following a partial list of returned recovery points.
For example, if a request is made to return
MaxResultsnumber of indexed recovery points,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Parameters:
nextToken- The next item following a partial list of returned recovery points.For example, if a request is made to return
MaxResultsnumber of indexed recovery points,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-