Class GroupConfiguration
- java.lang.Object
-
- org.jclouds.rackspace.autoscale.v1.domain.GroupConfiguration
-
- All Implemented Interfaces:
Comparable<GroupConfiguration>
public class GroupConfiguration extends Object implements Comparable<GroupConfiguration>
Autoscale GroupConfiguration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroupConfiguration.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
GroupConfiguration(String name, int cooldown, int minEntities, int maxEntities, Map<String,String> metadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupConfiguration.Builder
builder()
int
compareTo(GroupConfiguration that)
boolean
equals(Object obj)
int
getCooldown()
int
getMaxEntities()
com.google.common.collect.ImmutableMap<String,String>
getMetadata()
int
getMinEntities()
String
getName()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
GroupConfiguration.Builder
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
GroupConfiguration
@ConstructorProperties({"name","cooldown","minEntities","maxEntities","metadata"}) protected GroupConfiguration(String name, int cooldown, int minEntities, int maxEntities, Map<String,String> metadata)
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name of this GroupConfiguration. The name is not a unique or even sufficient identifier in some cases.
- See Also:
GroupConfiguration.Builder.name(String)
-
getCooldown
public int getCooldown()
- Returns:
- the cooldown for this GroupConfiguration.
- See Also:
GroupConfiguration.Builder.cooldown(int)
-
getMinEntities
public int getMinEntities()
- Returns:
- the minimum number of entities for this GroupConfiguration.
- See Also:
GroupConfiguration.Builder.minEntities(int)
-
getMaxEntities
public int getMaxEntities()
- Returns:
- the maximum number of entities for this GroupConfiguration.
- See Also:
GroupConfiguration.Builder.maxEntities(int)
-
getMetadata
public com.google.common.collect.ImmutableMap<String,String> getMetadata()
- Returns:
- the metadata map for this GroupConfiguration.
- See Also:
GroupConfiguration.Builder#metadata(Map
)
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static GroupConfiguration.Builder builder()
-
toBuilder
public GroupConfiguration.Builder toBuilder()
-
compareTo
public int compareTo(GroupConfiguration that)
- Specified by:
compareTo
in interfaceComparable<GroupConfiguration>
-
-