Interface DescribeLocationSmbResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeLocationSmbResponse.Builder,
,DescribeLocationSmbResponse> DataSyncResponse.Builder
,SdkBuilder<DescribeLocationSmbResponse.Builder,
,DescribeLocationSmbResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeLocationSmbResponse
public static interface DescribeLocationSmbResponse.Builder
extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeLocationSmbResponse.Builder,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.creationTime
(Instant creationTime) The time that the SMB location was created.The name of the Microsoft Active Directory domain that the SMB file server belongs to.locationArn
(String locationArn) The ARN of the SMB location.locationUri
(String locationUri) The URI of the SMB location.mountOptions
(Consumer<SmbMountOptions.Builder> mountOptions) The protocol that DataSync use to access your SMB file.mountOptions
(SmbMountOptions mountOptions) The protocol that DataSync use to access your SMB file.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, 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.
- Parameters:
user
- The user that can mount and 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.
-
domain
The name of the Microsoft Active Directory domain that the SMB file server belongs to.
- Parameters:
domain
- The name of the Microsoft Active Directory domain that the SMB file server belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
The protocol that DataSync use to access your SMB file.
- Parameters:
mountOptions
- The protocol that DataSync use to access your SMB file.- 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 protocol that DataSync use to access your SMB file.
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.
-