Interface ServerValidationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServerValidationConfiguration.Builder,
,ServerValidationConfiguration> SdkBuilder<ServerValidationConfiguration.Builder,
,ServerValidationConfiguration> SdkPojo
- Enclosing class:
ServerValidationConfiguration
public static interface ServerValidationConfiguration.Builder
extends SdkPojo, CopyableBuilder<ServerValidationConfiguration.Builder,ServerValidationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the configuration.server
(Consumer<Server.Builder> server) Sets the value of the Server property for this object.Sets the value of the Server property for this object.serverValidationStrategy
(String serverValidationStrategy) The validation strategy.serverValidationStrategy
(ServerValidationStrategy serverValidationStrategy) The validation strategy.userDataValidationParameters
(Consumer<UserDataValidationParameters.Builder> userDataValidationParameters) The validation parameters.userDataValidationParameters
(UserDataValidationParameters userDataValidationParameters) The validation parameters.validationId
(String validationId) The ID of the validation.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, sdkFields
-
Method Details
-
server
Sets the value of the Server property for this object.- Parameters:
server
- The new value for the Server property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
server
Sets the value of the Server property for this object. This is a convenience method that creates an instance of theServer.Builder
avoiding the need to create one manually viaServer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserver(Server)
.- Parameters:
server
- a consumer that will call methods onServer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationId
The ID of the validation.
- Parameters:
validationId
- The ID of the validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the configuration.
- Parameters:
name
- The name of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverValidationStrategy
The validation strategy.
- Parameters:
serverValidationStrategy
- The validation strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverValidationStrategy
ServerValidationConfiguration.Builder serverValidationStrategy(ServerValidationStrategy serverValidationStrategy) The validation strategy.
- Parameters:
serverValidationStrategy
- The validation strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userDataValidationParameters
ServerValidationConfiguration.Builder userDataValidationParameters(UserDataValidationParameters userDataValidationParameters) The validation parameters.
- Parameters:
userDataValidationParameters
- The validation parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userDataValidationParameters
default ServerValidationConfiguration.Builder userDataValidationParameters(Consumer<UserDataValidationParameters.Builder> userDataValidationParameters) The validation parameters.
This is a convenience method that creates an instance of theUserDataValidationParameters.Builder
avoiding the need to create one manually viaUserDataValidationParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserDataValidationParameters(UserDataValidationParameters)
.- Parameters:
userDataValidationParameters
- a consumer that will call methods onUserDataValidationParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-