@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)
Marshalls this structured data using the given
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.SmbVersion
public 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.SmbVersion
public 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.SmbVersion
public 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.SmbVersion
public String toString()
toString
in class Object
Object.toString()
public SmbMountOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.