Interface DescribeBandwidthRateLimitScheduleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeBandwidthRateLimitScheduleResponse.Builder,,DescribeBandwidthRateLimitScheduleResponse> SdkBuilder<DescribeBandwidthRateLimitScheduleResponse.Builder,,DescribeBandwidthRateLimitScheduleResponse> SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
DescribeBandwidthRateLimitScheduleResponse
@Mutable
@NotThreadSafe
public static interface DescribeBandwidthRateLimitScheduleResponse.Builder
extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeBandwidthRateLimitScheduleResponse.Builder,DescribeBandwidthRateLimitScheduleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbandwidthRateLimitIntervals(Collection<BandwidthRateLimitInterval> bandwidthRateLimitIntervals) An array that contains the bandwidth rate limit intervals for a tape or volume gateway.bandwidthRateLimitIntervals(Consumer<BandwidthRateLimitInterval.Builder>... bandwidthRateLimitIntervals) An array that contains the bandwidth rate limit intervals for a tape or volume gateway.bandwidthRateLimitIntervals(BandwidthRateLimitInterval... bandwidthRateLimitIntervals) An array that contains the bandwidth rate limit intervals for a tape or volume gateway.gatewayARN(String gatewayARN) Sets the value of the GatewayARN property for this object.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.
-
bandwidthRateLimitIntervals
DescribeBandwidthRateLimitScheduleResponse.Builder bandwidthRateLimitIntervals(Collection<BandwidthRateLimitInterval> bandwidthRateLimitIntervals) An array that contains the bandwidth rate limit intervals for a tape or volume gateway.
- Parameters:
bandwidthRateLimitIntervals- An array that contains the bandwidth rate limit intervals for a tape or volume gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidthRateLimitIntervals
DescribeBandwidthRateLimitScheduleResponse.Builder bandwidthRateLimitIntervals(BandwidthRateLimitInterval... bandwidthRateLimitIntervals) An array that contains the bandwidth rate limit intervals for a tape or volume gateway.
- Parameters:
bandwidthRateLimitIntervals- An array that contains the bandwidth rate limit intervals for a tape or volume gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidthRateLimitIntervals
DescribeBandwidthRateLimitScheduleResponse.Builder bandwidthRateLimitIntervals(Consumer<BandwidthRateLimitInterval.Builder>... bandwidthRateLimitIntervals) An array that contains the bandwidth rate limit intervals for a tape or volume gateway.
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:
-