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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeLocationSmbResponse.BuilderagentArns(String... agentArns)The Amazon Resource Name (ARN) of the source SMB file system location that is created.DescribeLocationSmbResponse.BuilderagentArns(Collection<String> agentArns)The Amazon Resource Name (ARN) of the source SMB file system location that is created.DescribeLocationSmbResponse.BuildercreationTime(Instant creationTime)The time that the SMB location was created.DescribeLocationSmbResponse.Builderdomain(String domain)The name of the Windows domain that the SMB server belongs to.DescribeLocationSmbResponse.BuilderlocationArn(String locationArn)The Amazon Resource Name (ARN) of the SMB location that was described.DescribeLocationSmbResponse.BuilderlocationUri(String locationUri)The URL of the source SMB location that was described.default DescribeLocationSmbResponse.BuildermountOptions(Consumer<SmbMountOptions.Builder> mountOptions)The mount options that are available for DataSync to use to access an SMB location.DescribeLocationSmbResponse.BuildermountOptions(SmbMountOptions mountOptions)The mount options that are available for DataSync to use to access an SMB location.DescribeLocationSmbResponse.Builderuser(String user)The user who can mount the share, has the permissions to access files and folders in the SMB share.-
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 Detail
-
locationArn
DescribeLocationSmbResponse.Builder locationArn(String locationArn)
The Amazon Resource Name (ARN) of the SMB location that was described.
- Parameters:
locationArn- The Amazon Resource Name (ARN) of the SMB location that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationUri
DescribeLocationSmbResponse.Builder locationUri(String locationUri)
The URL of the source SMB location that was described.
- Parameters:
locationUri- The URL of the source SMB location that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArns
DescribeLocationSmbResponse.Builder agentArns(Collection<String> agentArns)
The Amazon Resource Name (ARN) of the source SMB file system location that is created.
- Parameters:
agentArns- The Amazon Resource Name (ARN) of the source SMB file system location that is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArns
DescribeLocationSmbResponse.Builder agentArns(String... agentArns)
The Amazon Resource Name (ARN) of the source SMB file system location that is created.
- Parameters:
agentArns- The Amazon Resource Name (ARN) of the source SMB file system location that is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
DescribeLocationSmbResponse.Builder user(String user)
The user who can mount the share, has the permissions to access files and folders in the SMB share.
- Parameters:
user- The user who can mount the share, has the permissions to access files and folders in the SMB share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
DescribeLocationSmbResponse.Builder domain(String domain)
The name of the Windows domain that the SMB server belongs to.
- Parameters:
domain- The name of the Windows domain that the SMB server belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
DescribeLocationSmbResponse.Builder mountOptions(SmbMountOptions mountOptions)
The mount options that are available for DataSync to use to access an SMB location.
- Parameters:
mountOptions- The mount options that are available for DataSync to use to access an SMB location.- 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 mount options that are available for DataSync to use to access an SMB location.
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:
mountOptions(SmbMountOptions)
-
creationTime
DescribeLocationSmbResponse.Builder creationTime(Instant 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.
-
-