Class GetZoneRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20180115")
    public class GetZoneRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/dns/GetZoneExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetZoneRequest.

    • Constructor Detail

      • GetZoneRequest

        public GetZoneRequest()
    • Method Detail

      • getZoneNameOrId

        public String getZoneNameOrId()
        The name or OCID of the target zone.
      • getIfNoneMatch

        public String getIfNoneMatch()
        The If-None-Match header field makes the request method conditional on the absence of any current representation of the target resource, when the field-value is *, or having a selected representation with an entity-tag that does not match any of those listed in the field-value.
      • getIfModifiedSince

        public String getIfModifiedSince()
        The If-Modified-Since header field makes a GET or HEAD request method conditional on the selected representation’s modification date being more recent than the date provided in the field-value.

        Transfer of the selected representation’s data is avoided if that data has not changed.

      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • getScope

        public Scope getScope()
        Specifies to operate only on resources that have a matching DNS scope.
      • getViewId

        public String getViewId()
        The OCID of the view the zone is associated with.

        Required when accessing a private zone by name.

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment the zone belongs to.

        This parameter is deprecated and should be omitted.

      • builder

        public static GetZoneRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>