Package com.oracle.bmc.dns.requests
Class ChangeZoneCompartmentRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<ChangeZoneCompartmentDetails>
- 
- com.oracle.bmc.dns.requests.ChangeZoneCompartmentRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public class ChangeZoneCompartmentRequest extends BmcRequest<ChangeZoneCompartmentDetails>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/dns/ChangeZoneCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeZoneCompartmentRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classChangeZoneCompartmentRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description ChangeZoneCompartmentRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeZoneCompartmentRequest.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’.ChangeZoneCompartmentDetailsgetBody$()Alternative accessor for the body parameter.ChangeZoneCompartmentDetailsgetChangeZoneCompartmentDetails()Details for moving a zone into a different compartment.StringgetIfMatch()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.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetOpcRetryToken()A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ScopegetScope()Specifies to operate only on resources that have a matching DNS scope.StringgetZoneId()The OCID of the target zone.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ChangeZoneCompartmentRequest.BuildertoBuilder()Return an instance ofChangeZoneCompartmentRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getZoneIdpublic String getZoneId() The OCID of the target zone.
 - 
getChangeZoneCompartmentDetailspublic ChangeZoneCompartmentDetails getChangeZoneCompartmentDetails() Details for moving a zone into a different compartment.
 - 
getIfMatchpublic 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.
 - 
getOpcRetryTokenpublic String getOpcRetryToken() A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). 
 - 
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.
 - 
getBody$public ChangeZoneCompartmentDetails getBody$() Alternative accessor for the body parameter.- Overrides:
- getBody$in class- BmcRequest<ChangeZoneCompartmentDetails>
- Returns:
- body parameter
 
 - 
toBuilderpublic ChangeZoneCompartmentRequest.Builder toBuilder() Return an instance ofChangeZoneCompartmentRequest.Builderthat allows you to modify request properties.- Returns:
- instance of ChangeZoneCompartmentRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static ChangeZoneCompartmentRequest.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<ChangeZoneCompartmentDetails>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<ChangeZoneCompartmentDetails>
 
 
- 
 
-