Class Group.Builder
- java.lang.Object
-
- org.jclouds.rackspace.autoscale.v1.domain.Group.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected GroupConfiguration
groupConfiguration
protected String
id
protected LaunchConfiguration
launchConfiguration
protected com.google.common.collect.ImmutableList<Link>
links
protected com.google.common.collect.ImmutableList<ScalingPolicy>
scalingPolicy
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group
build()
Group.Builder
fromGroup(Group in)
Group.Builder
groupConfiguration(GroupConfiguration groupConfiguration)
Group.Builder
id(String id)
Group.Builder
launchConfiguration(LaunchConfiguration launchConfiguration)
Group.Builder
links(List<Link> links)
Group.Builder
scalingPolicy(List<ScalingPolicy> scalingPolicy)
-
-
-
Field Detail
-
id
protected String id
-
links
protected com.google.common.collect.ImmutableList<Link> links
-
scalingPolicy
protected com.google.common.collect.ImmutableList<ScalingPolicy> scalingPolicy
-
groupConfiguration
protected GroupConfiguration groupConfiguration
-
launchConfiguration
protected LaunchConfiguration launchConfiguration
-
-
Method Detail
-
id
public Group.Builder id(String id)
- Parameters:
id
- The id of this Group.- Returns:
- The builder object.
- See Also:
Group.getId()
-
links
public Group.Builder links(List<Link> links)
- Parameters:
links
- The links of this Group.- Returns:
- The builder object.
- See Also:
Group.getLinks()
-
scalingPolicy
public Group.Builder scalingPolicy(List<ScalingPolicy> scalingPolicy)
- Parameters:
scalingPolicy
- The scaling policies list of this Group.- Returns:
- The builder object.
- See Also:
Group.getScalingPolicies()
-
groupConfiguration
public Group.Builder groupConfiguration(GroupConfiguration groupConfiguration)
- Parameters:
groupConfiguration
- The groupConfiguration of this Group.- Returns:
- The builder object.
- See Also:
Group.getGroupConfiguration()
-
launchConfiguration
public Group.Builder launchConfiguration(LaunchConfiguration launchConfiguration)
- Parameters:
launchConfiguration
- The launchConfiguration of this Group.- Returns:
- The builder object.
- See Also:
Group.getLaunchConfiguration()
-
build
public Group build()
- Returns:
- A new ScalingPolicy object.
-
fromGroup
public Group.Builder fromGroup(Group in)
-
-