public class ScalingPolicy extends CreateScalingPolicy
Group.getScalingPolicies()CreateScalingPolicy.Builder, CreateScalingPolicy.ScalingPolicyScheduleType, CreateScalingPolicy.ScalingPolicyTargetType, CreateScalingPolicy.ScalingPolicyType| Constructor and Description |
|---|
ScalingPolicy(String name,
CreateScalingPolicy.ScalingPolicyType type,
int cooldown,
String target,
CreateScalingPolicy.ScalingPolicyTargetType targetType,
Map<String,String> args,
List<Link> links,
String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId() |
com.google.common.collect.ImmutableList<Link> |
getLinks() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
builder, compareTo, getCooldown, getName, getSchedulingArgs, getSchedulingString, getSchedulingType, getTarget, getTargetType, getType, toBuilder@ConstructorProperties(value={"name","type","cooldown","target","targetType","args","links","id"}) public ScalingPolicy(String name, CreateScalingPolicy.ScalingPolicyType type, int cooldown, String target, CreateScalingPolicy.ScalingPolicyTargetType targetType, Map<String,String> args, List<Link> links, String id)
public String getId()
public com.google.common.collect.ImmutableList<Link> getLinks()
public int hashCode()
hashCode in class CreateScalingPolicypublic boolean equals(Object obj)
equals in class CreateScalingPolicyprotected com.google.common.base.Objects.ToStringHelper string()
string in class CreateScalingPolicypublic String toString()
toString in class CreateScalingPolicyCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.