Class Pool.CreateBuilder
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.lbaas.v1.Pool.CreateBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pool.CreatePool
build()
Pool.CreateBuilder
protocol(Protocol protocol)
Provides the protocol for this Pool's Builder.Pool.CreateBuilder
provider(String provider)
Provides the provider for this Pool's Builder.protected Pool.CreateBuilder
self()
Pool.CreateBuilder
subnetId(String subnetId)
Provides the subnet id for this Pool's Builder.Pool.CreateBuilder
tenantId(String tenantId)
Provides the tenantId for this Pool's Builder.
-
-
-
Method Detail
-
tenantId
public Pool.CreateBuilder tenantId(String tenantId)
Provides the tenantId for this Pool's Builder. Admin-only. When keystone is enabled, it is not mandatory to specify tenant_id for resources in create requests, as the tenant identifier will be derived from the Authentication token. Please note that the default authorization settings only allow administrative users to create resources on behalf of a different tenant.- Returns:
- the Builder.
- See Also:
Pool.getTenantId()
-
subnetId
public Pool.CreateBuilder subnetId(String subnetId)
Provides the subnet id for this Pool's Builder.- Returns:
- the Builder.
- See Also:
Pool.getSubnetId()
-
protocol
public Pool.CreateBuilder protocol(Protocol protocol)
Provides the protocol for this Pool's Builder.- Returns:
- the Builder.
- See Also:
Pool.getProtocol()
-
provider
public Pool.CreateBuilder provider(String provider)
Provides the provider for this Pool's Builder.- Returns:
- the Builder.
- See Also:
Pool.getProvider()
-
build
public Pool.CreatePool build()
- Returns:
- a CreatePool constructed with this Builder.
-
self
protected Pool.CreateBuilder self()
-
-