Interface CreateApplianceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupExternalRequest.Builder,Buildable,CopyableBuilder<CreateApplianceRequest.Builder,,CreateApplianceRequest> SdkBuilder<CreateApplianceRequest.Builder,,CreateApplianceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateApplianceRequest
@Mutable
@NotThreadSafe
public static interface CreateApplianceRequest.Builder
extends BackupExternalRequest.Builder, SdkPojo, CopyableBuilder<CreateApplianceRequest.Builder,CreateApplianceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplianceIamRoleArn(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.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.environmentType(String environmentType) The environment in which the appliance runs.environmentType(ApplianceEnvironmentType environmentType) The environment in which the appliance runs.default CreateApplianceRequest.BuildernetworkConfiguration(Consumer<ApplianceNetworkConfigurationForCreate.Builder> networkConfiguration) The network configuration of the appliance.networkConfiguration(ApplianceNetworkConfigurationForCreate 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.The tags to associate with the appliance.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
-
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.
-
environmentType
The environment in which the appliance runs.
- Parameters:
environmentType- The environment in which the appliance runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentType
The environment in which the appliance runs.
- Parameters:
environmentType- The environment in which the appliance runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
CreateApplianceRequest.Builder networkConfiguration(ApplianceNetworkConfigurationForCreate 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 CreateApplianceRequest.Builder networkConfiguration(Consumer<ApplianceNetworkConfigurationForCreate.Builder> networkConfiguration) The network configuration of the appliance.
This is a convenience method that creates an instance of theApplianceNetworkConfigurationForCreate.Builderavoiding the need to create one manually viaApplianceNetworkConfigurationForCreate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(ApplianceNetworkConfigurationForCreate).- Parameters:
networkConfiguration- a consumer that will call methods onApplianceNetworkConfigurationForCreate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the appliance.
- Parameters:
tags- The tags to associate with the appliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApplianceRequest.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
CreateApplianceRequest.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.
-