Package com.oracle.bmc.dns.requests
Class DeleteZoneRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.dns.requests.DeleteZoneRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public class DeleteZoneRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/dns/DeleteZoneExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteZoneRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteZoneRequest.Builder
-
Constructor Summary
Constructors Constructor Description DeleteZoneRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteZoneRequest.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
getIfMatch()
The If-Match header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is *, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value.String
getIfUnmodifiedSince()
The If-Unmodified-Since header field makes the request method conditional on the selected representation’s last modification date being earlier than or equal to the date provided 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.DeleteZoneRequest.Builder
toBuilder()
Return an instance ofDeleteZoneRequest.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.
-
getIfMatch
public String getIfMatch()
The If-Match header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is *, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value.
-
getIfUnmodifiedSince
public String getIfUnmodifiedSince()
The If-Unmodified-Since header field makes the request method conditional on the selected representation’s last modification date being earlier than or equal to the date provided in the field-value.This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation.
-
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 DeleteZoneRequest.Builder toBuilder()
Return an instance ofDeleteZoneRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
DeleteZoneRequest.Builder
that allows you to modify request properties.
-
builder
public static DeleteZoneRequest.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>
-
-