Class 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.
    • Method Detail

      • defaultAccessPolicy

        public String defaultAccessPolicy()
        Gets the defaultAccessPolicy. The policy to use for bindings from accounts without an explicit account policy.
        Returns:
        the defaultAccessPolicy
      • 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`, and must be in the same VPC as the private path service gateway.
        Returns:
        the loadBalancer
      • 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.
        Returns:
        the name
      • zonalAffinity

        public Boolean 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

        public Map<String,​Object> 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