Interface DescribeTapeRecoveryPointsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTapeRecoveryPointsResponse.Builder,
,DescribeTapeRecoveryPointsResponse> SdkBuilder<DescribeTapeRecoveryPointsResponse.Builder,
,DescribeTapeRecoveryPointsResponse> SdkPojo
,SdkResponse.Builder
,StorageGatewayResponse.Builder
- Enclosing class:
DescribeTapeRecoveryPointsResponse
-
Method Summary
Modifier and TypeMethodDescriptiongatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended.tapeRecoveryPointInfos
(Collection<TapeRecoveryPointInfo> tapeRecoveryPointInfos) An array of TapeRecoveryPointInfos that are available for the specified gateway.tapeRecoveryPointInfos
(Consumer<TapeRecoveryPointInfo.Builder>... tapeRecoveryPointInfos) An array of TapeRecoveryPointInfos that are available for the specified gateway.tapeRecoveryPointInfos
(TapeRecoveryPointInfo... tapeRecoveryPointInfos) An array of TapeRecoveryPointInfos that are available for the specified gateway.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
gatewayARN
Sets the value of the GatewayARN property for this object.- Parameters:
gatewayARN
- The new value for the GatewayARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeRecoveryPointInfos
DescribeTapeRecoveryPointsResponse.Builder tapeRecoveryPointInfos(Collection<TapeRecoveryPointInfo> tapeRecoveryPointInfos) An array of TapeRecoveryPointInfos that are available for the specified gateway.
- Parameters:
tapeRecoveryPointInfos
- An array of TapeRecoveryPointInfos that are available for the specified gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeRecoveryPointInfos
DescribeTapeRecoveryPointsResponse.Builder tapeRecoveryPointInfos(TapeRecoveryPointInfo... tapeRecoveryPointInfos) An array of TapeRecoveryPointInfos that are available for the specified gateway.
- Parameters:
tapeRecoveryPointInfos
- An array of TapeRecoveryPointInfos that are available for the specified gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tapeRecoveryPointInfos
DescribeTapeRecoveryPointsResponse.Builder tapeRecoveryPointInfos(Consumer<TapeRecoveryPointInfo.Builder>... tapeRecoveryPointInfos) An array of TapeRecoveryPointInfos that are available for the specified gateway.
This is a convenience method that creates an instance of theTapeRecoveryPointInfo.Builder
avoiding the need to create one manually viaTapeRecoveryPointInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totapeRecoveryPointInfos(List<TapeRecoveryPointInfo>)
.- Parameters:
tapeRecoveryPointInfos
- a consumer that will call methods onTapeRecoveryPointInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended.
Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response.
- Parameters:
marker
- An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended.Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-