Package com.oracle.bmc.dns.requests
Class GetZoneRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.dns.requests.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetZoneRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetZoneRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetZoneRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getCompartmentId()
The OCID of the compartment the zone belongs to.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.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.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.Scope
getScope()
Specifies to operate only on resources that have a matching DNS scope.String
getViewId()
The OCID of the view the zone is associated with.String
getZoneNameOrId()
The name or OCID of the target zone.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetZoneRequest.Builder
toBuilder()
Return an instance ofGetZoneRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
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.
-
toBuilder
public GetZoneRequest.Builder toBuilder()
Return an instance ofGetZoneRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetZoneRequest.Builder
that allows you to modify request properties.
-
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 classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-