org.jclouds.googlecomputeengine.options
Class FirewallOptions

java.lang.Object
  extended by org.jclouds.googlecomputeengine.options.FirewallOptions

public class FirewallOptions
extends Object

Options to create a firewall.

Author:
David Alves
See Also:
Firewall

Constructor Summary
FirewallOptions()
           
 
Method Summary
 FirewallOptions addAllowedRule(Firewall.Rule allowedRule)
           
 FirewallOptions addSourceRange(String sourceRange)
           
 FirewallOptions addSourceTag(String sourceTag)
           
 FirewallOptions addTargetTag(String targetTag)
           
 FirewallOptions allowedRules(Set<Firewall.Rule> allowedRules)
           
 Set<Firewall.Rule> getAllowed()
           
 String getName()
           
 URI getNetwork()
           
 Set<String> getSourceRanges()
           
 Set<String> getSourceTags()
           
 Set<String> getTargetTags()
           
 FirewallOptions name(String name)
           
 FirewallOptions network(URI network)
           
 FirewallOptions sourceRanges(Set<String> sourceRanges)
           
 FirewallOptions sourceTags(Set<String> sourceTags)
           
 FirewallOptions targetTags(Set<String> targetTags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirewallOptions

public FirewallOptions()
Method Detail

getAllowed

public Set<Firewall.Rule> getAllowed()
See Also:
Firewall.getAllowed()

addAllowedRule

public FirewallOptions addAllowedRule(Firewall.Rule allowedRule)
See Also:
Firewall.getAllowed()

allowedRules

public FirewallOptions allowedRules(Set<Firewall.Rule> allowedRules)
See Also:
Firewall.getAllowed()

name

public FirewallOptions name(String name)
See Also:
Resource.getName()

getName

public String getName()
See Also:
Resource.getName()

network

public FirewallOptions network(URI network)
See Also:
Firewall.getNetwork()

getNetwork

public URI getNetwork()
See Also:
Firewall.getNetwork()

getSourceRanges

public Set<String> getSourceRanges()
See Also:
Firewall.getSourceRanges()

addSourceRange

public FirewallOptions addSourceRange(String sourceRange)
See Also:
Firewall.getSourceRanges()

sourceRanges

public FirewallOptions sourceRanges(Set<String> sourceRanges)
See Also:
Firewall.getSourceRanges()

getSourceTags

public Set<String> getSourceTags()
See Also:
Firewall.getSourceTags()

addSourceTag

public FirewallOptions addSourceTag(String sourceTag)
See Also:
Firewall.getSourceTags()

sourceTags

public FirewallOptions sourceTags(Set<String> sourceTags)
See Also:
Firewall.getSourceTags()

getTargetTags

public Set<String> getTargetTags()
See Also:
Firewall.getTargetTags()

addTargetTag

public FirewallOptions addTargetTag(String targetTag)
See Also:
Firewall.getTargetTags()

targetTags

public FirewallOptions targetTags(Set<String> targetTags)
See Also:
Firewall.getTargetTags()


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.