Interface PutBandwidthRateLimitScheduleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupGatewayRequest.Builder,Buildable,CopyableBuilder<PutBandwidthRateLimitScheduleRequest.Builder,,PutBandwidthRateLimitScheduleRequest> SdkBuilder<PutBandwidthRateLimitScheduleRequest.Builder,,PutBandwidthRateLimitScheduleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutBandwidthRateLimitScheduleRequest
-
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.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backupgateway.model.BackupGatewayRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
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 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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutBandwidthRateLimitScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-