org.jclouds.vcloud.director.v1_5.domain.network
Class SmtpServerSettings
java.lang.Object
org.jclouds.vcloud.director.v1_5.domain.network.SmtpServerSettings
public class SmtpServerSettings
- extends Object
Specifies connection details for the organization s SMTP server.
If IsDefaultSmtpServer (in OrgEmailSettings) is false, the SmtpServerSettings
element is taken into account.
<complexType name="SmtpServerSettings">
<complexContent>
<extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
<sequence>
<element name="IsUseAuthentication" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="Host" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Username" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
useAuthentication
protected boolean useAuthentication
host
protected String host
username
protected String username
password
protected String password
SmtpServerSettings
public SmtpServerSettings(boolean useAuthentication,
String host,
String username,
String password)
builder
public static SmtpServerSettings.Builder builder()
toBuilder
public SmtpServerSettings.Builder toBuilder()
useAuthentication
public boolean useAuthentication()
- Gets the value of the isUseAuthentication property.
getHost
public String getHost()
- Gets the value of the host property.
- Returns:
- possible object is
String
getUsername
public String getUsername()
- Gets the value of the username property.
- Returns:
- possible object is
String
getPassword
public String getPassword()
- Gets the value of the password property.
- Returns:
- possible object is
String
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
string
public com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.