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.creationTime
(Instant creationTime) The time that the SMB location was created.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.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
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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
AuthenticationType
is 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 ifAuthenticationType
is 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
AuthenticationType
is set toNTLM
.- Parameters:
domain
- The name of the Windows domain that the SMB file server belongs to. This element applies only ifAuthenticationType
is 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.Builder
avoiding the need to create one manually viaSmbMountOptions.builder()
.When the
Consumer
completes,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
AuthenticationType
is set toKERBEROS
.- Parameters:
dnsIpAddresses
- The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to. This element applies only ifAuthenticationType
is 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
AuthenticationType
is set toKERBEROS
.- Parameters:
dnsIpAddresses
- The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to. This element applies only ifAuthenticationType
is 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:
-