Interface ListRecoveryPointsByLegalHoldResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListRecoveryPointsByLegalHoldResponse.Builder,,ListRecoveryPointsByLegalHoldResponse> SdkBuilder<ListRecoveryPointsByLegalHoldResponse.Builder,,ListRecoveryPointsByLegalHoldResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecoveryPointsByLegalHoldResponse
public static interface ListRecoveryPointsByLegalHoldResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListRecoveryPointsByLegalHoldResponse.Builder,ListRecoveryPointsByLegalHoldResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThis return is the next item following a partial list of returned resources.recoveryPoints(Collection<RecoveryPointMember> recoveryPoints) This is a list of the recovery points returned byListRecoveryPointsByLegalHold.recoveryPoints(Consumer<RecoveryPointMember.Builder>... recoveryPoints) This is a list of the recovery points returned byListRecoveryPointsByLegalHold.recoveryPoints(RecoveryPointMember... recoveryPoints) This is a list of the recovery points returned byListRecoveryPointsByLegalHold.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
recoveryPoints
ListRecoveryPointsByLegalHoldResponse.Builder recoveryPoints(Collection<RecoveryPointMember> recoveryPoints) This is a list of the recovery points returned by
ListRecoveryPointsByLegalHold.- Parameters:
recoveryPoints- This is a list of the recovery points returned byListRecoveryPointsByLegalHold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPoints
This is a list of the recovery points returned by
ListRecoveryPointsByLegalHold.- Parameters:
recoveryPoints- This is a list of the recovery points returned byListRecoveryPointsByLegalHold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPoints
ListRecoveryPointsByLegalHoldResponse.Builder recoveryPoints(Consumer<RecoveryPointMember.Builder>... recoveryPoints) This is a list of the recovery points returned by
This is a convenience method that creates an instance of theListRecoveryPointsByLegalHold.RecoveryPointMember.Builderavoiding the need to create one manually viaRecoveryPointMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecoveryPoints(List<RecoveryPointMember>).- Parameters:
recoveryPoints- a consumer that will call methods onRecoveryPointMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
This return is the next item following a partial list of returned resources.
- Parameters:
nextToken- This return is the next item following a partial list of returned resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-