Interface UpdateHostKeyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateHostKeyRequest.Builder,,UpdateHostKeyRequest> SdkBuilder<UpdateHostKeyRequest.Builder,,UpdateHostKeyRequest> SdkPojo,SdkRequest.Builder,TransferRequest.Builder
- Enclosing class:
UpdateHostKeyRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) An updated description for the host key.The identifier of the host key that you are updating.The Amazon Resource Name (ARN) of the KMS key used to encrypt the Secrets Manager secret that stores the host key.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the server that contains the host key that you are updating.storageType(String storageType) Specifies whether the host key is stored by Transfer Family (SERVICE_MANAGED) or in Secrets Manager (SECRETS_MANAGER).storageType(HostKeyStorageType storageType) Specifies whether the host key is stored by Transfer Family (SERVICE_MANAGED) or in Secrets Manager (SECRETS_MANAGER).Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.transfer.model.TransferRequest.Builder
build
-
Method Details
-
serverId
The identifier of the server that contains the host key that you are updating.
- Parameters:
serverId- The identifier of the server that contains the host key that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostKeyId
The identifier of the host key that you are updating.
- Parameters:
hostKeyId- The identifier of the host key that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An updated description for the host key.
- Parameters:
description- An updated description for the host key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageType
Specifies whether the host key is stored by Transfer Family (
SERVICE_MANAGED) or in Secrets Manager (SECRETS_MANAGER). When you specifySECRETS_MANAGER, Transfer Family stores the private host key material in an Secrets Manager secret.- Parameters:
storageType- Specifies whether the host key is stored by Transfer Family (SERVICE_MANAGED) or in Secrets Manager (SECRETS_MANAGER). When you specifySECRETS_MANAGER, Transfer Family stores the private host key material in an Secrets Manager secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageType
Specifies whether the host key is stored by Transfer Family (
SERVICE_MANAGED) or in Secrets Manager (SECRETS_MANAGER). When you specifySECRETS_MANAGER, Transfer Family stores the private host key material in an Secrets Manager secret.- Parameters:
storageType- Specifies whether the host key is stored by Transfer Family (SERVICE_MANAGED) or in Secrets Manager (SECRETS_MANAGER). When you specifySECRETS_MANAGER, Transfer Family stores the private host key material in an Secrets Manager secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKey
The Amazon Resource Name (ARN) of the KMS key used to encrypt the Secrets Manager secret that stores the host key. If you specify a customer managed key, its key policy must allow the
AWSServiceRoleForTransferservice-linked role to decrypt the secret. If you don't specify a value, Transfer Family uses the Amazon Web Services managed key for Secrets Manager.- Parameters:
kmsKey- The Amazon Resource Name (ARN) of the KMS key used to encrypt the Secrets Manager secret that stores the host key. If you specify a customer managed key, its key policy must allow theAWSServiceRoleForTransferservice-linked role to decrypt the secret. If you don't specify a value, Transfer Family uses the Amazon Web Services managed key for Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateHostKeyRequest.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
UpdateHostKeyRequest.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.
-