org.soyatec.windowsazure.management
Class AffinityGroup
java.lang.Object
org.soyatec.windowsazure.management.AffinityGroup
public class AffinityGroup
- extends java.lang.Object
Within a subscription, it is possible to define affinity groups. An affinity
group groups the services together on Windows Azure servers. If services in a
subscription need to work together. For example, if the hosted service stores
data in the Blob or Table service or relies on the Queue service for
workflow. Then the developer can organize its hosted service and storage
account within an affinity group for optimal performance. Developer can
create an affinity group in the Developer Portal when he/she creates a
storage account or a hosted service. And then other services can be
associated with the affinity group.
|
Constructor Summary |
AffinityGroup()
|
AffinityGroup(java.lang.String name,
java.lang.String label,
java.lang.String description,
java.lang.String location)
Constructor for AffinityGroup. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AffinityGroup
public AffinityGroup()
AffinityGroup
public AffinityGroup(java.lang.String name,
java.lang.String label,
java.lang.String description,
java.lang.String location)
- Constructor for AffinityGroup.
- Parameters:
name - label - description - location -
getLabel
public java.lang.String getLabel()
- Returns:
- the label
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label - the label to set
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name - the name to set
getDescription
public java.lang.String getDescription()
- Returns:
- the description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description - the description to set
getLocation
public java.lang.String getLocation()
- Returns:
- the location
setLocation
public void setLocation(java.lang.String location)
- Parameters:
location - the location to set
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object