Package com.oracle.bmc.dns.requests
Class UpdateZoneRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<UpdateZoneDetails>
-
- com.oracle.bmc.dns.requests.UpdateZoneRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public class UpdateZoneRequest extends BmcRequest<UpdateZoneDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/dns/UpdateZoneExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateZoneRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateZoneRequest.Builder
-
Constructor Summary
Constructors Constructor Description UpdateZoneRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateZoneRequest.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’.UpdateZoneDetails
getBody$()
Alternative accessor for the body parameter.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.UpdateZoneDetails
getUpdateZoneDetails()
New data for the zone.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.UpdateZoneRequest.Builder
toBuilder()
Return an instance ofUpdateZoneRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getZoneNameOrId
public String getZoneNameOrId()
The name or OCID of the target zone.
-
getUpdateZoneDetails
public UpdateZoneDetails getUpdateZoneDetails()
New data for the 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.
-
getBody$
public UpdateZoneDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<UpdateZoneDetails>
- Returns:
- body parameter
-
toBuilder
public UpdateZoneRequest.Builder toBuilder()
Return an instance ofUpdateZoneRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
UpdateZoneRequest.Builder
that allows you to modify request properties.
-
builder
public static UpdateZoneRequest.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<UpdateZoneDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<UpdateZoneDetails>
-
-