org.jclouds.vcloud.director.v1_5.domain.network
Class SmtpServerSettings

java.lang.Object
  extended by 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>
 


Nested Class Summary
static class SmtpServerSettings.Builder
           
 
Field Summary
protected  String host
           
protected  String password
           
protected  boolean useAuthentication
           
protected  String username
           
 
Constructor Summary
SmtpServerSettings(boolean useAuthentication, String host, String username, String password)
           
 
Method Summary
static SmtpServerSettings.Builder builder()
           
 boolean equals(Object o)
           
 String getHost()
          Gets the value of the host property.
 String getPassword()
          Gets the value of the password property.
 String getUsername()
          Gets the value of the username property.
 int hashCode()
           
 com.google.common.base.Objects.ToStringHelper string()
           
 SmtpServerSettings.Builder toBuilder()
           
 String toString()
           
 boolean useAuthentication()
          Gets the value of the isUseAuthentication property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

useAuthentication

protected boolean useAuthentication

host

protected String host

username

protected String username

password

protected String password
Constructor Detail

SmtpServerSettings

public SmtpServerSettings(boolean useAuthentication,
                          String host,
                          String username,
                          String password)
Method Detail

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.