@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SmbMountOptions extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how DataSync can access a location using the SMB protocol.
| Constructor and Description |
|---|
SmbMountOptions() |
| Modifier and Type | Method and Description |
|---|---|
SmbMountOptions |
clone() |
boolean |
equals(Object obj) |
String |
getVersion()
Specifies the SMB version that you want DataSync to use when mounting your SMB share.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setVersion(String version)
Specifies the SMB version that you want DataSync to use when mounting your SMB share.
|
String |
toString()
Returns a string representation of this object.
|
SmbMountOptions |
withVersion(SmbVersion version)
Specifies the SMB version that you want DataSync to use when mounting your SMB share.
|
SmbMountOptions |
withVersion(String version)
Specifies the SMB version that you want DataSync to use when mounting your SMB share.
|
public void setVersion(String version)
Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you don't specify a
version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the SMB
server.
version - Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you don't specify
a version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the
SMB server.SmbVersionpublic String getVersion()
Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you don't specify a
version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the SMB
server.
AUTOMATIC and chooses a version based on negotiation
with the SMB server.SmbVersionpublic SmbMountOptions withVersion(String version)
Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you don't specify a
version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the SMB
server.
version - Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you don't specify
a version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the
SMB server.SmbVersionpublic SmbMountOptions withVersion(SmbVersion version)
Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you don't specify a
version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the SMB
server.
version - Specifies the SMB version that you want DataSync to use when mounting your SMB share. If you don't specify
a version, DataSync defaults to AUTOMATIC and chooses a version based on negotiation with the
SMB server.SmbVersionpublic String toString()
toString in class ObjectObject.toString()public SmbMountOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.