Class FsxProtocolSmb
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FsxProtocolSmb.Builder,FsxProtocolSmb>
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your Amazon FSx for NetApp ONTAP file system's storage virtual machine (SVM). For more information, see Providing DataSync access to FSx for ONTAP file systems.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FsxProtocolSmb.Builderbuilder()final CmkSecretConfigSpecifies configuration information for a DataSync-managed secret, which includes the password that DataSync uses to access a specific FSx for ONTAP storage location (using SMB), with a customer-managed KMS key.final CustomSecretConfigSpecifies configuration information for a customer-managed Secrets Manager secret where the password for an FSx for ONTAP storage location (using SMB) is stored in plain text, in Secrets Manager.final Stringdomain()Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ManagedSecretConfigDescribes configuration information for a DataSync-managed secret, such as aPasswordthat DataSync uses to access a specific storage location.final SmbMountOptionsReturns the value of the MountOptions property for this object.final Stringpassword()Specifies the password of a user who has permission to access your SVM.static Class<? extends FsxProtocolSmb.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringuser()Specifies a user that can mount and access the files, folders, and metadata in your SVM.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
domain
Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to.
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right SVM.
- Returns:
- Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to.
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right SVM.
-
mountOptions
Returns the value of the MountOptions property for this object.- Returns:
- The value of the MountOptions property for this object.
-
password
Specifies the password of a user who has permission to access your SVM.
- Returns:
- Specifies the password of a user who has permission to access your SVM.
-
user
Specifies a user that can mount and access the files, folders, and metadata in your SVM.
For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol.
- Returns:
- Specifies a user that can mount and access the files, folders, and metadata in your SVM.
For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol.
-
managedSecretConfig
Describes configuration information for a DataSync-managed secret, such as a
Passwordthat DataSync uses to access a specific storage location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.Do not provide this for a
CreateLocationrequest.ManagedSecretConfigis a ReadOnly property and is only be populated in theDescribeLocationresponse.- Returns:
- Describes configuration information for a DataSync-managed secret, such as a
Passwordthat DataSync uses to access a specific storage location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.Do not provide this for a
CreateLocationrequest.ManagedSecretConfigis a ReadOnly property and is only be populated in theDescribeLocationresponse.
-
cmkSecretConfig
Specifies configuration information for a DataSync-managed secret, which includes the password that DataSync uses to access a specific FSx for ONTAP storage location (using SMB), with a customer-managed KMS key.
When you include this parameter as part of a
CreateLocationFsxOntaprequest, you provide only the KMS key ARN. DataSync uses this KMS key together with thePasswordyou specify for to create a DataSync-managed secret to store the location access credentials.Make sure that DataSync has permission to access the KMS key that you specify. For more information, see Using a service-managed secret encrypted with a custom KMS key.
You can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.- Returns:
- Specifies configuration information for a DataSync-managed secret, which includes the password that
DataSync uses to access a specific FSx for ONTAP storage location (using SMB), with a customer-managed
KMS key.
When you include this parameter as part of a
CreateLocationFsxOntaprequest, you provide only the KMS key ARN. DataSync uses this KMS key together with thePasswordyou specify for to create a DataSync-managed secret to store the location access credentials.Make sure that DataSync has permission to access the KMS key that you specify. For more information, see Using a service-managed secret encrypted with a custom KMS key.
You can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.
-
customSecretConfig
Specifies configuration information for a customer-managed Secrets Manager secret where the password for an FSx for ONTAP storage location (using SMB) is stored in plain text, in Secrets Manager. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. For more information, see Using a secret that you manage.
You can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.- Returns:
- Specifies configuration information for a customer-managed Secrets Manager secret where the password for
an FSx for ONTAP storage location (using SMB) is stored in plain text, in Secrets Manager. This
configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret.
For more information, see Using a secret that you manage.
You can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FsxProtocolSmb.Builder,FsxProtocolSmb> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-