Interface UpdateFlywheelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<UpdateFlywheelRequest.Builder,,UpdateFlywheelRequest> SdkBuilder<UpdateFlywheelRequest.Builder,,UpdateFlywheelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFlywheelRequest
public static interface UpdateFlywheelRequest.Builder
extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<UpdateFlywheelRequest.Builder,UpdateFlywheelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionactiveModelArn(String activeModelArn) The Amazon Resource Number (ARN) of the active model version.dataAccessRoleArn(String dataAccessRoleArn) The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.default UpdateFlywheelRequest.BuilderdataSecurityConfig(Consumer<UpdateDataSecurityConfig.Builder> dataSecurityConfig) Flywheel data security configuration.dataSecurityConfig(UpdateDataSecurityConfig dataSecurityConfig) Flywheel data security configuration.flywheelArn(String flywheelArn) The Amazon Resource Number (ARN) of the flywheel to update.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
flywheelArn
The Amazon Resource Number (ARN) of the flywheel to update.
- Parameters:
flywheelArn- The Amazon Resource Number (ARN) of the flywheel to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeModelArn
The Amazon Resource Number (ARN) of the active model version.
- Parameters:
activeModelArn- The Amazon Resource Number (ARN) of the active model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataAccessRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.
- Parameters:
dataAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSecurityConfig
Flywheel data security configuration.
- Parameters:
dataSecurityConfig- Flywheel data security configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSecurityConfig
default UpdateFlywheelRequest.Builder dataSecurityConfig(Consumer<UpdateDataSecurityConfig.Builder> dataSecurityConfig) Flywheel data security configuration.
This is a convenience method that creates an instance of theUpdateDataSecurityConfig.Builderavoiding the need to create one manually viaUpdateDataSecurityConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSecurityConfig(UpdateDataSecurityConfig).- Parameters:
dataSecurityConfig- a consumer that will call methods onUpdateDataSecurityConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateFlywheelRequest.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
UpdateFlywheelRequest.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.
-