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.75.0/dns/GetZoneExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetZoneRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGetZoneRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description GetZoneRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetZoneRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The OCID of the compartment the zone belongs to.StringgetIfModifiedSince()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.StringgetIfNoneMatch()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.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.ScopegetScope()Specifies to operate only on resources that have a matching DNS scope.StringgetViewId()The OCID of the view the zone is associated with.StringgetZoneNameOrId()The name or OCID of the target zone.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetZoneRequest.BuildertoBuilder()Return an instance ofGetZoneRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getZoneNameOrIdpublic String getZoneNameOrId() The name or OCID of the target zone.
 - 
getIfNoneMatchpublic 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.
 - 
getIfModifiedSincepublic 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. 
 - 
getOpcRequestIdpublic String getOpcRequestId() Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. 
 - 
getScopepublic Scope getScope() Specifies to operate only on resources that have a matching DNS scope.
 - 
getViewIdpublic String getViewId() The OCID of the view the zone is associated with.Required when accessing a private zone by name. 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment the zone belongs to.This parameter is deprecated and should be omitted. 
 - 
toBuilderpublic GetZoneRequest.Builder toBuilder() Return an instance ofGetZoneRequest.Builderthat allows you to modify request properties.- Returns:
- instance of GetZoneRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static GetZoneRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<Void>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<Void>
 
 
- 
 
-