Interface DescribeLocationSmbResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeLocationSmbResponse.Builder,,DescribeLocationSmbResponse> DataSyncResponse.Builder,SdkBuilder<DescribeLocationSmbResponse.Builder,,DescribeLocationSmbResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeLocationSmbResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARNs of the DataSync agents that can connect with your SMB file server.agentArns(Collection<String> agentArns) The ARNs of the DataSync agents that can connect with your SMB file server.authenticationType(String authenticationType) The authentication protocol that DataSync uses to connect to your SMB file server.authenticationType(SmbAuthenticationType authenticationType) The authentication protocol that DataSync uses to connect to your SMB file server.cmkSecretConfig(Consumer<CmkSecretConfig.Builder> cmkSecretConfig) Describes configuration information for a DataSync-managed secret, such as aPasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.cmkSecretConfig(CmkSecretConfig cmkSecretConfig) Describes configuration information for a DataSync-managed secret, such as aPasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.creationTime(Instant creationTime) The time that the SMB location was created.customSecretConfig(Consumer<CustomSecretConfig.Builder> customSecretConfig) Describes configuration information for a customer-managed secret, such as aPasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.customSecretConfig(CustomSecretConfig customSecretConfig) Describes configuration information for a customer-managed secret, such as aPasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.dnsIpAddresses(String... dnsIpAddresses) The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to.dnsIpAddresses(Collection<String> dnsIpAddresses) The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to.The name of the Windows domain that the SMB file server belongs to.kerberosPrincipal(String kerberosPrincipal) The Kerberos principal that has permission to access the files, folders, and file metadata in your SMB file server.locationArn(String locationArn) The ARN of the SMB location.locationUri(String locationUri) The URI of the SMB location.managedSecretConfig(Consumer<ManagedSecretConfig.Builder> managedSecretConfig) Describes configuration information for a DataSync-managed secret, such as aPasswordorKerberosKeytabthat DataSync uses to access a specific storage location.managedSecretConfig(ManagedSecretConfig managedSecretConfig) Describes configuration information for a DataSync-managed secret, such as aPasswordorKerberosKeytabthat DataSync uses to access a specific storage location.mountOptions(Consumer<SmbMountOptions.Builder> mountOptions) The SMB protocol version that DataSync uses to access your SMB file server.mountOptions(SmbMountOptions mountOptions) The SMB protocol version that DataSync uses to access your SMB file server.The user that can mount and access the files, folders, and file metadata in your SMB file server.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.Builder
build, responseMetadata, responseMetadataMethods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
locationArn
The ARN of the SMB location.
- Parameters:
locationArn- The ARN of the SMB location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationUri
The URI of the SMB location.
- Parameters:
locationUri- The URI of the SMB location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArns
The ARNs of the DataSync agents that can connect with your SMB file server.
- Parameters:
agentArns- The ARNs of the DataSync agents that can connect with your SMB file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArns
The ARNs of the DataSync agents that can connect with your SMB file server.
- Parameters:
agentArns- The ARNs of the DataSync agents that can connect with your SMB file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
The user that can mount and access the files, folders, and file metadata in your SMB file server. This element applies only if
AuthenticationTypeis set toNTLM.- Parameters:
user- The user that can mount and access the files, folders, and file metadata in your SMB file server. This element applies only ifAuthenticationTypeis set toNTLM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The name of the Windows domain that the SMB file server belongs to. This element applies only if
AuthenticationTypeis set toNTLM.- Parameters:
domain- The name of the Windows domain that the SMB file server belongs to. This element applies only ifAuthenticationTypeis set toNTLM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
The SMB protocol version that DataSync uses to access your SMB file server.
- Parameters:
mountOptions- The SMB protocol version that DataSync uses to access your SMB file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
default DescribeLocationSmbResponse.Builder mountOptions(Consumer<SmbMountOptions.Builder> mountOptions) The SMB protocol version that DataSync uses to access your SMB file server.
This is a convenience method that creates an instance of theSmbMountOptions.Builderavoiding the need to create one manually viaSmbMountOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomountOptions(SmbMountOptions).- Parameters:
mountOptions- a consumer that will call methods onSmbMountOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time that the SMB location was created.
- Parameters:
creationTime- The time that the SMB location was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsIpAddresses
The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to. This element applies only if
AuthenticationTypeis set toKERBEROS.- Parameters:
dnsIpAddresses- The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to. This element applies only ifAuthenticationTypeis set toKERBEROS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsIpAddresses
The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to. This element applies only if
AuthenticationTypeis set toKERBEROS.- Parameters:
dnsIpAddresses- The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to. This element applies only ifAuthenticationTypeis set toKERBEROS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kerberosPrincipal
The Kerberos principal that has permission to access the files, folders, and file metadata in your SMB file server.
- Parameters:
kerberosPrincipal- The Kerberos principal that has permission to access the files, folders, and file metadata in your SMB file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationType
The authentication protocol that DataSync uses to connect to your SMB file server.
- Parameters:
authenticationType- The authentication protocol that DataSync uses to connect to your SMB file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
The authentication protocol that DataSync uses to connect to your SMB file server.
- Parameters:
authenticationType- The authentication protocol that DataSync uses to connect to your SMB file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
managedSecretConfig
Describes configuration information for a DataSync-managed secret, such as a
PasswordorKerberosKeytabthat 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.- Parameters:
managedSecretConfig- Describes configuration information for a DataSync-managed secret, such as aPasswordorKerberosKeytabthat 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedSecretConfig
default DescribeLocationSmbResponse.Builder managedSecretConfig(Consumer<ManagedSecretConfig.Builder> managedSecretConfig) Describes configuration information for a DataSync-managed secret, such as a
This is a convenience method that creates an instance of thePasswordorKerberosKeytabthat 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.ManagedSecretConfig.Builderavoiding the need to create one manually viaManagedSecretConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedSecretConfig(ManagedSecretConfig).- Parameters:
managedSecretConfig- a consumer that will call methods onManagedSecretConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cmkSecretConfig
Describes configuration information for a DataSync-managed secret, such as a
PasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.- Parameters:
cmkSecretConfig- Describes configuration information for a DataSync-managed secret, such as aPasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cmkSecretConfig
default DescribeLocationSmbResponse.Builder cmkSecretConfig(Consumer<CmkSecretConfig.Builder> cmkSecretConfig) Describes configuration information for a DataSync-managed secret, such as a
This is a convenience method that creates an instance of thePasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.CmkSecretConfig.Builderavoiding the need to create one manually viaCmkSecretConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocmkSecretConfig(CmkSecretConfig).- Parameters:
cmkSecretConfig- a consumer that will call methods onCmkSecretConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customSecretConfig
Describes configuration information for a customer-managed secret, such as a
PasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.- Parameters:
customSecretConfig- Describes configuration information for a customer-managed secret, such as aPasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customSecretConfig
default DescribeLocationSmbResponse.Builder customSecretConfig(Consumer<CustomSecretConfig.Builder> customSecretConfig) Describes configuration information for a customer-managed secret, such as a
This is a convenience method that creates an instance of thePasswordorKerberosKeytabthat DataSync uses to access a specific storage location, with a customer-managed KMS key.CustomSecretConfig.Builderavoiding the need to create one manually viaCustomSecretConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomSecretConfig(CustomSecretConfig).- Parameters:
customSecretConfig- a consumer that will call methods onCustomSecretConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-