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.Builder
dataSecurityConfig
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
build
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
-
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.Builder
avoiding the need to create one manually viaUpdateDataSecurityConfig.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-