org.jclouds.elb.domain
Class Policy

java.lang.Object
  extended by org.jclouds.elb.domain.Policy

public class Policy
extends Object

Author:
Adrian Cole
See Also:
doc

Nested Class Summary
static class Policy.Builder
           
 
Field Summary
protected  com.google.common.collect.Multimap<String,Object> attributes
           
protected  String name
           
protected  String typeName
           
 
Constructor Summary
protected Policy(String name, String typeName, com.google.common.collect.Multimap<String,Object> attributes)
           
 
Method Summary
static Policy.Builder builder()
           
 boolean equals(Object obj)
          
 com.google.common.collect.Multimap<String,Object> getAttributes()
          A list of policy attribute description structures.
 String getName()
          The name of the policy associated with the LoadBalancer
 String getTypeName()
          The name of the policy type associated with the LoadBalancer.
 int hashCode()
          
 Policy.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected final String name

typeName

protected final String typeName

attributes

protected final com.google.common.collect.Multimap<String,Object> attributes
Constructor Detail

Policy

protected Policy(String name,
                 String typeName,
                 com.google.common.collect.Multimap<String,Object> attributes)
Method Detail

builder

public static Policy.Builder builder()

toBuilder

public Policy.Builder toBuilder()

getName

public String getName()
The name of the policy associated with the LoadBalancer


getTypeName

public String getTypeName()
The name of the policy type associated with the LoadBalancer.


getAttributes

public com.google.common.collect.Multimap<String,Object> getAttributes()
A list of policy attribute description structures. Note that values are either Long, Boolean, or String, depending on AttributeMetadata.getType()


hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.