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 CreateScalingPolicy
public boolean equals(Object obj)
equals
in class CreateScalingPolicy
protected com.google.common.base.Objects.ToStringHelper string()
string
in class CreateScalingPolicy
public String toString()
toString
in class CreateScalingPolicy
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.