Class PrivatePathServiceGatewayPatch
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.PrivatePathServiceGatewayPatch
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PrivatePathServiceGatewayPatch
extends com.ibm.cloud.sdk.core.service.model.GenericModel
PrivatePathServiceGatewayPatch.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder.static interface
The policy to use for bindings from accounts without an explicit account policy. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a PrivatePathServiceGatewayPatch builder
-
defaultAccessPolicy
Gets the defaultAccessPolicy. The policy to use for bindings from accounts without an explicit account policy.- Returns:
- the defaultAccessPolicy
-
loadBalancer
Gets the loadBalancer. The load balancer for this private path service gateway. The load balancer must have `is_private_path` set to `true`, and must be in the same VPC as the private path service gateway.- Returns:
- the loadBalancer
-
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.- Returns:
- the name
-
zonalAffinity
Gets the zonalAffinity. Updating the value of `zonal_affinity` changes how traffic for existing and future endpoint gateway bindings will be routed: - `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
-
asPatch
Construct a JSON merge-patch from the PrivatePathServiceGatewayPatch. Note that properties of the PrivatePathServiceGatewayPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the PrivatePathServiceGatewayPatch
-