org.soyatec.windowsazure.management
Class HostedServiceProperties

java.lang.Object
  extended by org.soyatec.windowsazure.management.HostedServiceProperties

public class HostedServiceProperties
extends java.lang.Object

This class defines all properties of a HostedService

Author:
yyang

Constructor Summary
HostedServiceProperties()
           
 
Method Summary
 void addDeployment(Deployment deploy)
          Add a deployment to the deployments of HostedServiceProperties
 java.lang.String getAffinityGroup()
           
 java.util.List<Deployment> getDeployments()
           
 java.lang.String getDescription()
           
 java.lang.String getLabel()
           
 java.lang.String getLocation()
           
 java.lang.String getName()
           
 java.lang.String getUrl()
           
 void setAffinityGroup(java.lang.String affinityGroup)
          Set the affinityGroup of HostedServiceProperties
 void setDeployments(java.util.List<Deployment> deployments)
          Set the deployment list of HostedServiceProperties
 void setDescription(java.lang.String description)
          Set the description of HostedServiceProperties
 void setLabel(java.lang.String label)
          Set the label of HostedServiceProperties
 void setLocation(java.lang.String location)
          Set location of HostedServiceProperties
 void setName(java.lang.String name)
          Set the name of HostedServiceProperties
 void setUrl(java.lang.String url)
          Set the url of HostedServiceProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostedServiceProperties

public HostedServiceProperties()
Method Detail

addDeployment

public void addDeployment(Deployment deploy)
Add a deployment to the deployments of HostedServiceProperties

Parameters:
deploy - a deployment

getDeployments

public java.util.List<Deployment> getDeployments()
Returns:
deployment list of HostedServiceProperties.

setDeployments

public void setDeployments(java.util.List<Deployment> deployments)
Set the deployment list of HostedServiceProperties

Parameters:
deployments -

getName

public java.lang.String getName()
Returns:
the name of HostedServiceProperties

setName

public void setName(java.lang.String name)
Set the name of HostedServiceProperties

Parameters:
name -

getUrl

public java.lang.String getUrl()
Returns:
the url of HostedServiceProperties

setUrl

public void setUrl(java.lang.String url)
Set the url of HostedServiceProperties

Parameters:
url -

getDescription

public java.lang.String getDescription()
Returns:
the description of HostedServiceProperties

setDescription

public void setDescription(java.lang.String description)
Set the description of HostedServiceProperties

Parameters:
description -

getAffinityGroup

public java.lang.String getAffinityGroup()
Returns:
the affinityGroup of HostedServiceProperties

setAffinityGroup

public void setAffinityGroup(java.lang.String affinityGroup)
Set the affinityGroup of HostedServiceProperties

Parameters:
affinityGroup -

getLocation

public java.lang.String getLocation()
Returns:
the location of HostedServiceProperties

setLocation

public void setLocation(java.lang.String location)
Set location of HostedServiceProperties

Parameters:
location -

getLabel

public java.lang.String getLabel()
Returns:
the label of HostedServiceProperties

setLabel

public void setLabel(java.lang.String label)
Set the label of HostedServiceProperties

Parameters:
label -