Interface UpdateDistributionBundleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDistributionBundleRequest.Builder,
,UpdateDistributionBundleRequest> LightsailRequest.Builder
,SdkBuilder<UpdateDistributionBundleRequest.Builder,
,UpdateDistributionBundleRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDistributionBundleRequest
public static interface UpdateDistributionBundleRequest.Builder
extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<UpdateDistributionBundleRequest.Builder,UpdateDistributionBundleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe bundle ID of the new bundle to apply to your distribution.distributionName
(String distributionName) The name of the distribution for which to update the bundle.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
distributionName
The name of the distribution for which to update the bundle.
Use the
GetDistributions
action to get a list of distribution names that you can specify.- Parameters:
distributionName
- The name of the distribution for which to update the bundle.Use the
GetDistributions
action to get a list of distribution names that you can specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleId
The bundle ID of the new bundle to apply to your distribution.
Use the
GetDistributionBundles
action to get a list of distribution bundle IDs that you can specify.- Parameters:
bundleId
- The bundle ID of the new bundle to apply to your distribution.Use the
GetDistributionBundles
action to get a list of distribution bundle IDs that you can specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDistributionBundleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDistributionBundleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-