Interface UpdateApplianceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupExternalRequest.Builder,Buildable,CopyableBuilder<UpdateApplianceRequest.Builder,,UpdateApplianceRequest> SdkBuilder<UpdateApplianceRequest.Builder,,UpdateApplianceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateApplianceRequest
@Mutable
@NotThreadSafe
public static interface UpdateApplianceRequest.Builder
extends BackupExternalRequest.Builder, SdkPojo, CopyableBuilder<UpdateApplianceRequest.Builder,UpdateApplianceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplianceArn(String applianceArn) The Amazon Resource Name (ARN) of the appliance.applianceIamRoleArn(String applianceIamRoleArn) The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.applianceName(String applianceName) The name of the appliance.applianceOperationMode(String applianceOperationMode) The operation mode of the appliance.applianceOperationMode(ApplianceOperationModeForUpdate applianceOperationMode) The operation mode of the appliance.default UpdateApplianceRequest.BuildernetworkConfiguration(Consumer<ApplianceNetworkConfigurationForUpdate.Builder> networkConfiguration) The network configuration of the appliance.networkConfiguration(ApplianceNetworkConfigurationForUpdate networkConfiguration) The network configuration of the appliance.nodeFaultTolerance(Integer nodeFaultTolerance) The number of node failures that the appliance can tolerate.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.backupexternal.model.BackupExternalRequest.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, sdkFieldNameToField, sdkFields
-
Method Details
-
applianceArn
The Amazon Resource Name (ARN) of the appliance.
- Parameters:
applianceArn- The Amazon Resource Name (ARN) of the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applianceName
The name of the appliance.
- Parameters:
applianceName- The name of the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applianceIamRoleArn
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.
- Parameters:
applianceIamRoleArn- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeFaultTolerance
The number of node failures that the appliance can tolerate.
- Parameters:
nodeFaultTolerance- The number of node failures that the appliance can tolerate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
UpdateApplianceRequest.Builder networkConfiguration(ApplianceNetworkConfigurationForUpdate networkConfiguration) The network configuration of the appliance.
- Parameters:
networkConfiguration- The network configuration of the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default UpdateApplianceRequest.Builder networkConfiguration(Consumer<ApplianceNetworkConfigurationForUpdate.Builder> networkConfiguration) The network configuration of the appliance.
This is a convenience method that creates an instance of theApplianceNetworkConfigurationForUpdate.Builderavoiding the need to create one manually viaApplianceNetworkConfigurationForUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(ApplianceNetworkConfigurationForUpdate).- Parameters:
networkConfiguration- a consumer that will call methods onApplianceNetworkConfigurationForUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
applianceOperationMode
The operation mode of the appliance.
- Parameters:
applianceOperationMode- The operation mode of the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
applianceOperationMode
UpdateApplianceRequest.Builder applianceOperationMode(ApplianceOperationModeForUpdate applianceOperationMode) The operation mode of the appliance.
- Parameters:
applianceOperationMode- The operation mode of the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateApplianceRequest.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
UpdateApplianceRequest.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.
-