Interface ServerlessRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServerlessRequest.Builder,ServerlessRequest>,SdkBuilder<ServerlessRequest.Builder,ServerlessRequest>,SdkPojo
- Enclosing class:
- ServerlessRequest
public static interface ServerlessRequest.Builder extends SdkPojo, CopyableBuilder<ServerlessRequest.Builder,ServerlessRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ServerlessRequest.BuilderclientAuthentication(Consumer<ServerlessClientAuthentication.Builder> clientAuthentication)Includes all client authentication information.ServerlessRequest.BuilderclientAuthentication(ServerlessClientAuthentication clientAuthentication)Includes all client authentication information.ServerlessRequest.BuildervpcConfigs(Collection<VpcConfig> vpcConfigs)The configuration of the Amazon VPCs for the cluster.ServerlessRequest.BuildervpcConfigs(Consumer<VpcConfig.Builder>... vpcConfigs)The configuration of the Amazon VPCs for the cluster.ServerlessRequest.BuildervpcConfigs(VpcConfig... vpcConfigs)The configuration of the Amazon VPCs for the cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
vpcConfigs
ServerlessRequest.Builder vpcConfigs(Collection<VpcConfig> vpcConfigs)
The configuration of the Amazon VPCs for the cluster.
- Parameters:
vpcConfigs-The configuration of the Amazon VPCs for the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfigs
ServerlessRequest.Builder vpcConfigs(VpcConfig... vpcConfigs)
The configuration of the Amazon VPCs for the cluster.
- Parameters:
vpcConfigs-The configuration of the Amazon VPCs for the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfigs
ServerlessRequest.Builder vpcConfigs(Consumer<VpcConfig.Builder>... vpcConfigs)
The configuration of the Amazon VPCs for the cluster.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vpcConfigs(List.) - Parameters:
vpcConfigs- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#vpcConfigs(java.util.Collection)
-
clientAuthentication
ServerlessRequest.Builder clientAuthentication(ServerlessClientAuthentication clientAuthentication)
Includes all client authentication information.
- Parameters:
clientAuthentication-Includes all client authentication information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientAuthentication
default ServerlessRequest.Builder clientAuthentication(Consumer<ServerlessClientAuthentication.Builder> clientAuthentication)
Includes all client authentication information.
This is a convenience method that creates an instance of theServerlessClientAuthentication.Builderavoiding the need to create one manually viaServerlessClientAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientAuthentication(ServerlessClientAuthentication).- Parameters:
clientAuthentication- a consumer that will call methods onServerlessClientAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
clientAuthentication(ServerlessClientAuthentication)
-
-