Interface RestoreRuntimeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RestoreRuntimeRequest.Builder,,RestoreRuntimeRequest> LambdaCoreRequest.Builder,SdkBuilder<RestoreRuntimeRequest.Builder,,RestoreRuntimeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RestoreRuntimeRequest
@Mutable
@NotThreadSafe
public static interface RestoreRuntimeRequest.Builder
extends LambdaCoreRequest.Builder, SdkPojo, CopyableBuilder<RestoreRuntimeRequest.Builder,RestoreRuntimeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.runtimeAlias(String runtimeAlias) Optional.runtimeName(String runtimeName) The name or ARN of the runtime to restore.runtimeVersion(String runtimeVersion) Optional.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.services.lambdacore.model.LambdaCoreRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
runtimeName
The name or ARN of the runtime to restore. When RuntimeVersion or RuntimeAlias is specified, the runtime that owns the runtime version or runtime alias to restore.
- Parameters:
runtimeName- The name or ARN of the runtime to restore. When RuntimeVersion or RuntimeAlias is specified, the runtime that owns the runtime version or runtime alias to restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeVersion
Optional. Restores the named RuntimeVersion under RuntimeName. Mutually exclusive with RuntimeAlias; supplying both is rejected with InvalidParameterValueException.
- Parameters:
runtimeVersion- Optional. Restores the named RuntimeVersion under RuntimeName. Mutually exclusive with RuntimeAlias; supplying both is rejected with InvalidParameterValueException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeAlias
Optional. Restores the named RuntimeAlias under RuntimeName. Mutually exclusive with RuntimeVersion; supplying both is rejected with InvalidParameterValueException.
- Parameters:
runtimeAlias- Optional. Restores the named RuntimeAlias under RuntimeName. Mutually exclusive with RuntimeVersion; supplying both is rejected with InvalidParameterValueException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RestoreRuntimeRequest.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
RestoreRuntimeRequest.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.
-