Interface PutBandwidthRateLimitScheduleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BackupGatewayRequest.Builder,Buildable,CopyableBuilder<PutBandwidthRateLimitScheduleRequest.Builder,PutBandwidthRateLimitScheduleRequest>,SdkBuilder<PutBandwidthRateLimitScheduleRequest.Builder,PutBandwidthRateLimitScheduleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutBandwidthRateLimitScheduleRequest
public static interface PutBandwidthRateLimitScheduleRequest.Builder extends BackupGatewayRequest.Builder, SdkPojo, CopyableBuilder<PutBandwidthRateLimitScheduleRequest.Builder,PutBandwidthRateLimitScheduleRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.backupgateway.model.BackupGatewayRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
bandwidthRateLimitIntervals
PutBandwidthRateLimitScheduleRequest.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
PutBandwidthRateLimitScheduleRequest.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
PutBandwidthRateLimitScheduleRequest.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.Builderavoiding the need to create one manually viaBandwidthRateLimitInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#bandwidthRateLimitIntervals(List.) - 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:
#bandwidthRateLimitIntervals(java.util.Collection)
-
gatewayArn
PutBandwidthRateLimitScheduleRequest.Builder gatewayArn(String gatewayArn)
The Amazon Resource Name (ARN) of the gateway. Use the
ListGatewaysoperation 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 theListGatewaysoperation 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.
-
overrideConfiguration
PutBandwidthRateLimitScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutBandwidthRateLimitScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-