Class EndpointGatewayPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class EndpointGatewayPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    EndpointGatewayPatch.
    • Method Detail

      • allowDnsResolutionBinding

        public Boolean allowDnsResolutionBinding()
        Gets the allowDnsResolutionBinding. Indicates whether to allow DNS resolution for this endpoint gateway when the VPC this endpoint gateway resides in has a DNS resolution binding to a VPC with `dns.enable_hub` set to `true`. Must be `true` if the VPC this endpoint gateway resides in has `dns.enable_hub` set to `true`.
        Returns:
        the allowDnsResolutionBinding
      • name

        public String name()
        Gets the name. The name for this endpoint gateway. The name must not be used by another endpoint gateway in the VPC.
        Returns:
        the name
      • asPatch

        public Map<String,​Object> asPatch()
        Construct a JSON merge-patch from the EndpointGatewayPatch. Note that properties of the EndpointGatewayPatch 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 EndpointGatewayPatch