Class CreateZoneRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • createZoneDetails

        public CreateZoneRequest.Builder createZoneDetails​(CreateZoneBaseDetails createZoneDetails)
        Details for creating a new zone.
        Parameters:
        createZoneDetails - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public CreateZoneRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • opcRetryToken

        public CreateZoneRequest.Builder opcRetryToken​(String opcRetryToken)
        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).

        Parameters:
        opcRetryToken - the value to set
        Returns:
        this builder instance
      • compartmentId

        public CreateZoneRequest.Builder compartmentId​(String compartmentId)
        The OCID of the compartment the zone belongs to.

        This parameter is deprecated and should be omitted.

        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • scope

        public CreateZoneRequest.Builder scope​(Scope scope)
        Specifies to operate only on resources that have a matching DNS scope.
        Parameters:
        scope - the value to set
        Returns:
        this builder instance
      • viewId

        public CreateZoneRequest.Builder viewId​(String viewId)
        The OCID of the view the resource is associated with.
        Parameters:
        viewId - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public CreateZoneRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public CreateZoneRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance