public abstract static class LoadBalancer.Builder<T extends LoadBalancer.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.ImmutableSet.Builder<String> |
availabilityZones |
protected Date |
createdTime |
protected String |
dnsName |
protected HealthCheck |
healthCheck |
protected com.google.common.base.Optional<String> |
hostedZoneId |
protected com.google.common.base.Optional<String> |
hostedZoneName |
protected com.google.common.collect.ImmutableSet.Builder<String> |
instanceIds |
protected com.google.common.collect.ImmutableSet.Builder<ListenerWithPolicies> |
listeners |
protected String |
name |
protected com.google.common.base.Optional<Scheme> |
scheme |
protected com.google.common.collect.ImmutableSet.Builder<String> |
securityGroups |
protected com.google.common.base.Optional<SecurityGroupAndOwner> |
sourceSecurityGroup |
protected com.google.common.collect.ImmutableSet.Builder<String> |
subnets |
protected com.google.common.base.Optional<String> |
VPCId |
Constructor and Description |
---|
LoadBalancer.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
availabilityZone(String availabilityZone) |
T |
availabilityZones(Iterable<String> availabilityZones) |
LoadBalancer |
build() |
T |
createdTime(Date createdTime) |
T |
dnsName(String dnsName) |
T |
fromLoadBalancer(LoadBalancer in) |
T |
healthCheck(HealthCheck healthCheck) |
T |
hostedZoneId(String hostedZoneId) |
T |
hostedZoneName(String hostedZoneName) |
T |
instanceId(String instanceId) |
T |
instanceIds(Iterable<String> instanceIds) |
T |
listener(ListenerWithPolicies listener) |
T |
listeners(Iterable<ListenerWithPolicies> listeners) |
T |
name(String name) |
T |
scheme(Scheme scheme) |
T |
securityGroup(String securityGroup) |
T |
securityGroups(Iterable<String> securityGroups) |
protected abstract T |
self() |
T |
sourceSecurityGroup(SecurityGroupAndOwner scheme) |
T |
subnet(String subnet) |
T |
subnets(Iterable<String> subnets) |
T |
VPCId(String VPCId) |
protected String name
protected Date createdTime
protected String dnsName
protected HealthCheck healthCheck
protected com.google.common.collect.ImmutableSet.Builder<String> instanceIds
protected com.google.common.collect.ImmutableSet.Builder<ListenerWithPolicies> listeners
protected com.google.common.collect.ImmutableSet.Builder<String> availabilityZones
protected com.google.common.base.Optional<Scheme> scheme
protected com.google.common.base.Optional<SecurityGroupAndOwner> sourceSecurityGroup
protected com.google.common.base.Optional<String> VPCId
protected com.google.common.collect.ImmutableSet.Builder<String> securityGroups
protected com.google.common.collect.ImmutableSet.Builder<String> subnets
protected com.google.common.base.Optional<String> hostedZoneName
protected com.google.common.base.Optional<String> hostedZoneId
protected abstract T self()
public T name(String name)
LoadBalancer.getName()
public T createdTime(Date createdTime)
LoadBalancer.getCreatedTime()
public T dnsName(String dnsName)
LoadBalancer.getDnsName()
public T healthCheck(HealthCheck healthCheck)
LoadBalancer.getHealthCheck()
public T instanceIds(Iterable<String> instanceIds)
LoadBalancer.getInstanceIds()
public T instanceId(String instanceId)
LoadBalancer.getInstanceIds()
public T listeners(Iterable<ListenerWithPolicies> listeners)
LoadBalancer.getListeners()
public T listener(ListenerWithPolicies listener)
LoadBalancer.getListeners()
public T availabilityZones(Iterable<String> availabilityZones)
LoadBalancer.getAvailabilityZones()
public T availabilityZone(String availabilityZone)
LoadBalancer.getAvailabilityZones()
public T scheme(Scheme scheme)
LoadBalancer.getScheme()
public T sourceSecurityGroup(SecurityGroupAndOwner scheme)
public T VPCId(String VPCId)
LoadBalancer.getVPCId()
public T securityGroups(Iterable<String> securityGroups)
LoadBalancer.getSecurityGroups()
public T securityGroup(String securityGroup)
LoadBalancer.getSecurityGroups()
public T subnets(Iterable<String> subnets)
LoadBalancer.getSubnets()
public T subnet(String subnet)
LoadBalancer.getSubnets()
public T hostedZoneName(String hostedZoneName)
LoadBalancer.getHostedZoneName()
public T hostedZoneId(String hostedZoneId)
LoadBalancer.getHostedZoneId()
public LoadBalancer build()
public T fromLoadBalancer(LoadBalancer in)
Copyright © 2009-2013 jclouds. All Rights Reserved.