Interface UpdateBandwidthRateLimitScheduleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateBandwidthRateLimitScheduleRequest.Builder,,UpdateBandwidthRateLimitScheduleRequest> SdkBuilder<UpdateBandwidthRateLimitScheduleRequest.Builder,,UpdateBandwidthRateLimitScheduleRequest> SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
UpdateBandwidthRateLimitScheduleRequest
public static interface UpdateBandwidthRateLimitScheduleRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateBandwidthRateLimitScheduleRequest.Builder,UpdateBandwidthRateLimitScheduleRequest>
-
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) Sets the value of the GatewayARN property for this object.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.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
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.
-
bandwidthRateLimitIntervals
UpdateBandwidthRateLimitScheduleRequest.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
UpdateBandwidthRateLimitScheduleRequest.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
UpdateBandwidthRateLimitScheduleRequest.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:
-
overrideConfiguration
UpdateBandwidthRateLimitScheduleRequest.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
UpdateBandwidthRateLimitScheduleRequest.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.
-