Interface GetFunctionScalingConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFunctionScalingConfigResponse.Builder,,GetFunctionScalingConfigResponse> LambdaResponse.Builder,SdkBuilder<GetFunctionScalingConfigResponse.Builder,,GetFunctionScalingConfigResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFunctionScalingConfigResponse
@Mutable
@NotThreadSafe
public static interface GetFunctionScalingConfigResponse.Builder
extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<GetFunctionScalingConfigResponse.Builder,GetFunctionScalingConfigResponse>
-
Method Summary
Modifier and TypeMethodDescriptionappliedFunctionScalingConfig(Consumer<FunctionScalingConfig.Builder> appliedFunctionScalingConfig) The scaling configuration that is currently applied to the function.appliedFunctionScalingConfig(FunctionScalingConfig appliedFunctionScalingConfig) The scaling configuration that is currently applied to the function.functionArn(String functionArn) The Amazon Resource Name (ARN) of the function.requestedFunctionScalingConfig(Consumer<FunctionScalingConfig.Builder> requestedFunctionScalingConfig) The scaling configuration that was requested for the function.requestedFunctionScalingConfig(FunctionScalingConfig requestedFunctionScalingConfig) The scaling configuration that was requested for the function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
functionArn
The Amazon Resource Name (ARN) of the function.
- Parameters:
functionArn- The Amazon Resource Name (ARN) of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedFunctionScalingConfig
GetFunctionScalingConfigResponse.Builder appliedFunctionScalingConfig(FunctionScalingConfig appliedFunctionScalingConfig) The scaling configuration that is currently applied to the function. This represents the actual scaling settings in effect.
- Parameters:
appliedFunctionScalingConfig- The scaling configuration that is currently applied to the function. This represents the actual scaling settings in effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedFunctionScalingConfig
default GetFunctionScalingConfigResponse.Builder appliedFunctionScalingConfig(Consumer<FunctionScalingConfig.Builder> appliedFunctionScalingConfig) The scaling configuration that is currently applied to the function. This represents the actual scaling settings in effect.
This is a convenience method that creates an instance of theFunctionScalingConfig.Builderavoiding the need to create one manually viaFunctionScalingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappliedFunctionScalingConfig(FunctionScalingConfig).- Parameters:
appliedFunctionScalingConfig- a consumer that will call methods onFunctionScalingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestedFunctionScalingConfig
GetFunctionScalingConfigResponse.Builder requestedFunctionScalingConfig(FunctionScalingConfig requestedFunctionScalingConfig) The scaling configuration that was requested for the function.
- Parameters:
requestedFunctionScalingConfig- The scaling configuration that was requested for the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedFunctionScalingConfig
default GetFunctionScalingConfigResponse.Builder requestedFunctionScalingConfig(Consumer<FunctionScalingConfig.Builder> requestedFunctionScalingConfig) The scaling configuration that was requested for the function.
This is a convenience method that creates an instance of theFunctionScalingConfig.Builderavoiding the need to create one manually viaFunctionScalingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestedFunctionScalingConfig(FunctionScalingConfig).- Parameters:
requestedFunctionScalingConfig- a consumer that will call methods onFunctionScalingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-