Package com.ibm.cloud.is.vpc.v1.model
Class CreatePrivatePathServiceGatewayOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreatePrivatePathServiceGatewayOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreatePrivatePathServiceGatewayOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createPrivatePathServiceGateway options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreatePrivatePathServiceGatewayOptions.Builder
Builder.static interface
CreatePrivatePathServiceGatewayOptions.DefaultAccessPolicy
The policy to use for bindings from accounts without an explicit account policy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
defaultAccessPolicy()
Gets the defaultAccessPolicy.LoadBalancerIdentity
loadBalancer()
Gets the loadBalancer.String
name()
Gets the name.CreatePrivatePathServiceGatewayOptions.Builder
newBuilder()
New builder.ResourceGroupIdentity
resourceGroup()
Gets the resourceGroup.List<String>
serviceEndpoints()
Gets the serviceEndpoints.Boolean
zonalAffinity()
Gets the zonalAffinity.
-
-
-
Method Detail
-
newBuilder
public CreatePrivatePathServiceGatewayOptions.Builder newBuilder()
New builder.- Returns:
- a CreatePrivatePathServiceGatewayOptions builder
-
loadBalancer
public LoadBalancerIdentity loadBalancer()
Gets the loadBalancer. The load balancer for this private path service gateway. The load balancer must have `is_private_path` set to `true`. The private path service gateway will reside in the same VPC as the specified load balancer.- Returns:
- the loadBalancer
-
serviceEndpoints
public List<String> serviceEndpoints()
Gets the serviceEndpoints. The fully qualified domain names for this private path service gateway. Any uppercase letters will be converted to lowercase.- Returns:
- the serviceEndpoints
-
defaultAccessPolicy
public String defaultAccessPolicy()
Gets the defaultAccessPolicy. The policy to use for bindings from accounts without an explicit account policy.- Returns:
- the defaultAccessPolicy
-
name
public String name()
Gets the name. The name for this private path service gateway. The name must not be used by another private path service gateway in the VPC. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
- the name
-
resourceGroup
public ResourceGroupIdentity resourceGroup()
Gets the resourceGroup. The resource group to use. If unspecified, the account's [default resource group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.- Returns:
- the resourceGroup
-
zonalAffinity
public Boolean zonalAffinity()
Gets the zonalAffinity. Indicates whether this private path service gateway has zonal affinity. - `true`: Traffic to the service from a zone the service resides in will remain in that zone. - `false`: Traffic to the service from a zone will be load balanced across all zones in the region the service resides in.- Returns:
- the zonalAffinity
-
-