Interface GetBandwidthRateLimitScheduleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupGatewayResponse.Builder
,Buildable
,CopyableBuilder<GetBandwidthRateLimitScheduleResponse.Builder,
,GetBandwidthRateLimitScheduleResponse> SdkBuilder<GetBandwidthRateLimitScheduleResponse.Builder,
,GetBandwidthRateLimitScheduleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBandwidthRateLimitScheduleResponse
-
Method Summary
Modifier and TypeMethodDescriptionbandwidthRateLimitIntervals
(Collection<BandwidthRateLimitInterval> bandwidthRateLimitIntervals) An array containing bandwidth rate limit schedule intervals for a gateway.bandwidthRateLimitIntervals
(Consumer<BandwidthRateLimitInterval.Builder>... bandwidthRateLimitIntervals) An array containing bandwidth rate limit schedule intervals for a gateway.bandwidthRateLimitIntervals
(BandwidthRateLimitInterval... bandwidthRateLimitIntervals) An array containing bandwidth rate limit schedule intervals for a gateway.gatewayArn
(String gatewayArn) The Amazon Resource Name (ARN) of the gateway.Methods inherited from interface software.amazon.awssdk.services.backupgateway.model.BackupGatewayResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
bandwidthRateLimitIntervals
GetBandwidthRateLimitScheduleResponse.Builder bandwidthRateLimitIntervals(Collection<BandwidthRateLimitInterval> bandwidthRateLimitIntervals) An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
- Parameters:
bandwidthRateLimitIntervals
- An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidthRateLimitIntervals
GetBandwidthRateLimitScheduleResponse.Builder bandwidthRateLimitIntervals(BandwidthRateLimitInterval... bandwidthRateLimitIntervals) An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
- Parameters:
bandwidthRateLimitIntervals
- An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidthRateLimitIntervals
GetBandwidthRateLimitScheduleResponse.Builder bandwidthRateLimitIntervals(Consumer<BandwidthRateLimitInterval.Builder>... bandwidthRateLimitIntervals) An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
This is a convenience method that creates an instance of theBandwidthRateLimitInterval.Builder
avoiding the need to create one manually viaBandwidthRateLimitInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobandwidthRateLimitIntervals(List<BandwidthRateLimitInterval>)
.- Parameters:
bandwidthRateLimitIntervals
- a consumer that will call methods onBandwidthRateLimitInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway. Use the
ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.- Parameters:
gatewayArn
- The Amazon Resource Name (ARN) of the gateway. Use theListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-