org.jclouds.elb.domain
Class SecurityGroupAndOwner

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

public class SecurityGroupAndOwner
extends Object

The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances. To only allow traffic from LoadBalancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.

Author:
Adrian Cole
See Also:
doc

Nested Class Summary
static class SecurityGroupAndOwner.Builder
           
 
Field Summary
protected  String name
           
protected  String owner
           
 
Constructor Summary
protected SecurityGroupAndOwner(String name, String owner)
           
 
Method Summary
static SecurityGroupAndOwner.Builder builder()
           
 boolean equals(Object obj)
          
 String getName()
          Name of the source security group.
 String getOwner()
          Owner of the source security group.
 int hashCode()
          
 SecurityGroupAndOwner.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

owner

protected final String owner
Constructor Detail

SecurityGroupAndOwner

protected SecurityGroupAndOwner(String name,
                                String owner)
Method Detail

builder

public static SecurityGroupAndOwner.Builder builder()

toBuilder

public SecurityGroupAndOwner.Builder toBuilder()

getName

public String getName()
Name of the source security group.


getOwner

public String getOwner()
Owner of the source security group.


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.