org.jclouds.savvis.vpdc.domain
Class FirewallRule.Builder
java.lang.Object
org.jclouds.savvis.vpdc.domain.ResourceImpl.Builder
org.jclouds.savvis.vpdc.domain.FirewallRule.Builder
- Enclosing class:
- FirewallRule
public static class FirewallRule.Builder
- extends ResourceImpl.Builder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirewallRule.Builder
public FirewallRule.Builder()
build
public FirewallRule build()
- Overrides:
build
in class ResourceImpl.Builder
firewallType
public FirewallRule.Builder firewallType(String firewallType)
isEnabled
public FirewallRule.Builder isEnabled(boolean isEnabled)
source
public FirewallRule.Builder source(String source)
destination
public FirewallRule.Builder destination(String destination)
port
public FirewallRule.Builder port(String port)
policy
public FirewallRule.Builder policy(String policy)
description
public FirewallRule.Builder description(String description)
isLogged
public FirewallRule.Builder isLogged(boolean isLogged)
protocol
public FirewallRule.Builder protocol(String protocol)
fromFirewallRule
public static FirewallRule.Builder fromFirewallRule(FirewallRule in)
id
public FirewallRule.Builder id(String id)
- Overrides:
id
in class ResourceImpl.Builder
name
public FirewallRule.Builder name(String name)
- Overrides:
name
in class ResourceImpl.Builder
type
public FirewallRule.Builder type(String type)
- Overrides:
type
in class ResourceImpl.Builder
href
public FirewallRule.Builder href(URI href)
- Overrides:
href
in class ResourceImpl.Builder
Copyright © 2009-2011 jclouds. All Rights Reserved.