Package com.oracle.bmc.dns.requests
Class CreateZoneRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<CreateZoneBaseDetails>
-
- com.oracle.bmc.dns.requests.CreateZoneRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public class CreateZoneRequest extends BmcRequest<CreateZoneBaseDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/dns/CreateZoneExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateZoneRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateZoneRequest.Builder
-
Constructor Summary
Constructors Constructor Description CreateZoneRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateZoneRequest.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’.CreateZoneBaseDetails
getBody$()
Alternative accessor for the body parameter.String
getCompartmentId()
The OCID of the compartment the zone belongs to.CreateZoneBaseDetails
getCreateZoneDetails()
Details for creating a new zone.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 resource is associated with.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.CreateZoneRequest.Builder
toBuilder()
Return an instance ofCreateZoneRequest.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
-
getCreateZoneDetails
public CreateZoneBaseDetails getCreateZoneDetails()
Details for creating a new zone.
-
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.
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment the zone belongs to.This parameter is deprecated and should be omitted.
-
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 resource is associated with.
-
getBody$
public CreateZoneBaseDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<CreateZoneBaseDetails>
- Returns:
- body parameter
-
toBuilder
public CreateZoneRequest.Builder toBuilder()
Return an instance ofCreateZoneRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
CreateZoneRequest.Builder
that allows you to modify request properties.
-
builder
public static CreateZoneRequest.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<CreateZoneBaseDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<CreateZoneBaseDetails>
-
-