Class RoverNode.Builder

  • Enclosing class:
    RoverNode

    public static class RoverNode.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public RoverNode.Builder id​(String id)
        The OCID of RoverNode.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • clusterId

        public RoverNode.Builder clusterId​(String clusterId)
        The cluster ID if the node is part of a cluster.
        Parameters:
        clusterId - the value to set
        Returns:
        this builder
      • compartmentId

        public RoverNode.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the RoverNode.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • nodeType

        public RoverNode.Builder nodeType​(NodeType nodeType)
        The type of node indicating if it belongs to a cluster
        Parameters:
        nodeType - the value to set
        Returns:
        this builder
      • shape

        public RoverNode.Builder shape​(String shape)
        The shape of the node.
        Parameters:
        shape - the value to set
        Returns:
        this builder
      • enclosureType

        public RoverNode.Builder enclosureType​(EnclosureType enclosureType)
        The type of enclosure rover node is shipped in.
        Parameters:
        enclosureType - the value to set
        Returns:
        this builder
      • serialNumber

        public RoverNode.Builder serialNumber​(String serialNumber)
        Serial number of the node.
        Parameters:
        serialNumber - the value to set
        Returns:
        this builder
      • displayName

        public RoverNode.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • timeCreated

        public RoverNode.Builder timeCreated​(Date timeCreated)
        The time the the RoverNode was created.

        An RFC3339 formatted datetime string

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • lifecycleState

        public RoverNode.Builder lifecycleState​(LifecycleState lifecycleState)
        The current state of the RoverNode.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleStateDetails

        public RoverNode.Builder lifecycleStateDetails​(String lifecycleStateDetails)
        A property that can contain details on the lifecycle.
        Parameters:
        lifecycleStateDetails - the value to set
        Returns:
        this builder
      • nodeWorkloads

        public RoverNode.Builder nodeWorkloads​(List<RoverWorkload> nodeWorkloads)
        List of existing workloads that should be provisioned on the node.
        Parameters:
        nodeWorkloads - the value to set
        Returns:
        this builder
      • timeCustomerReceieved

        public RoverNode.Builder timeCustomerReceieved​(Date timeCustomerReceieved)
        Date and time when customer received tne node.
        Parameters:
        timeCustomerReceieved - the value to set
        Returns:
        this builder
      • timeCustomerReturned

        public RoverNode.Builder timeCustomerReturned​(Date timeCustomerReturned)
        Date and time when customer returned the node.
        Parameters:
        timeCustomerReturned - the value to set
        Returns:
        this builder
      • deliveryTrackingInfo

        public RoverNode.Builder deliveryTrackingInfo​(String deliveryTrackingInfo)
        Tracking information for device shipping.
        Parameters:
        deliveryTrackingInfo - the value to set
        Returns:
        this builder
      • superUserPassword

        public RoverNode.Builder superUserPassword​(String superUserPassword)
        Root password for the rover node.
        Parameters:
        superUserPassword - the value to set
        Returns:
        this builder
      • unlockPassphrase

        public RoverNode.Builder unlockPassphrase​(String unlockPassphrase)
        Password to unlock the rover node.
        Parameters:
        unlockPassphrase - the value to set
        Returns:
        this builder
      • pointOfContact

        public RoverNode.Builder pointOfContact​(String pointOfContact)
        Name of point of contact for this order if customer is picking up.
        Parameters:
        pointOfContact - the value to set
        Returns:
        this builder
      • pointOfContactPhoneNumber

        public RoverNode.Builder pointOfContactPhoneNumber​(String pointOfContactPhoneNumber)
        Phone number of point of contact for this order if customer is picking up.
        Parameters:
        pointOfContactPhoneNumber - the value to set
        Returns:
        this builder
      • shippingVendor

        public RoverNode.Builder shippingVendor​(String shippingVendor)
        Shipping vendor of choice for orace to customer shipping.
        Parameters:
        shippingVendor - the value to set
        Returns:
        this builder
      • timePickupExpected

        public RoverNode.Builder timePickupExpected​(Date timePickupExpected)
        Expected date when customer wants to pickup the device if they chose customer pickup.
        Parameters:
        timePickupExpected - the value to set
        Returns:
        this builder
      • timeReturnWindowStarts

        public RoverNode.Builder timeReturnWindowStarts​(Date timeReturnWindowStarts)
        Start time for the window to pickup the device from customer.
        Parameters:
        timeReturnWindowStarts - the value to set
        Returns:
        this builder
      • oracleShippingTrackingUrl

        public RoverNode.Builder oracleShippingTrackingUrl​(String oracleShippingTrackingUrl)
        Tracking Url for the shipped RoverNode.
        Parameters:
        oracleShippingTrackingUrl - the value to set
        Returns:
        this builder
      • timeReturnWindowEnds

        public RoverNode.Builder timeReturnWindowEnds​(Date timeReturnWindowEnds)
        End time for the window to pickup the device from customer.
        Parameters:
        timeReturnWindowEnds - the value to set
        Returns:
        this builder
      • returnShippingLabelUri

        public RoverNode.Builder returnShippingLabelUri​(String returnShippingLabelUri)
        Uri to download return shipping label.
        Parameters:
        returnShippingLabelUri - the value to set
        Returns:
        this builder
      • isImportRequested

        public RoverNode.Builder isImportRequested​(Boolean isImportRequested)
        The flag indicating that customer requests data to be imported to OCI upon Rover node return.
        Parameters:
        isImportRequested - the value to set
        Returns:
        this builder
      • importCompartmentId

        public RoverNode.Builder importCompartmentId​(String importCompartmentId)
        An OCID of a compartment where data will be imported to upon Rover node return.
        Parameters:
        importCompartmentId - the value to set
        Returns:
        this builder
      • importFileBucket

        public RoverNode.Builder importFileBucket​(String importFileBucket)
        Name of a bucket where files from NFS share will be imported to upon Rover node return.
        Parameters:
        importFileBucket - the value to set
        Returns:
        this builder
      • dataValidationCode

        public RoverNode.Builder dataValidationCode​(String dataValidationCode)
        Validation code returned by data validation tool.

        Required for return shipping label generation if data import was requested.

        Parameters:
        dataValidationCode - the value to set
        Returns:
        this builder
      • publicKey

        public RoverNode.Builder publicKey​(String publicKey)
        The public key of the resource principal
        Parameters:
        publicKey - the value to set
        Returns:
        this builder
      • imageExportPar

        public RoverNode.Builder imageExportPar​(String imageExportPar)
        The link to pre-authenticated request for a bucket where image workloads are moved.
        Parameters:
        imageExportPar - the value to set
        Returns:
        this builder
      • masterKeyId

        public RoverNode.Builder masterKeyId​(String masterKeyId)
        Customer provided master key ID to encrypt secret information.

        If not provided, Rover’s master key will be used for encryption.

        Parameters:
        masterKeyId - the value to set
        Returns:
        this builder
      • certificateAuthorityId

        public RoverNode.Builder certificateAuthorityId​(String certificateAuthorityId)
        The certificateAuthorityId of subordinate/intermediate certificate authority.
        Parameters:
        certificateAuthorityId - the value to set
        Returns:
        this builder
      • timeCertValidityEnd

        public RoverNode.Builder timeCertValidityEnd​(Date timeCertValidityEnd)
        The time after which leaf certificate will invalid.
        Parameters:
        timeCertValidityEnd - the value to set
        Returns:
        this builder
      • commonName

        public RoverNode.Builder commonName​(String commonName)
        The common name for the leaf certificate.
        Parameters:
        commonName - the value to set
        Returns:
        this builder
      • certCompartmentId

        public RoverNode.Builder certCompartmentId​(String certCompartmentId)
        The compartmentId of the leaf certificate.
        Parameters:
        certCompartmentId - the value to set
        Returns:
        this builder
      • certificateVersionNumber

        public RoverNode.Builder certificateVersionNumber​(String certificateVersionNumber)
        The version number of the leaf certificate.
        Parameters:
        certificateVersionNumber - the value to set
        Returns:
        this builder
      • certificateId

        public RoverNode.Builder certificateId​(String certificateId)
        The id of the leaf certificate.
        Parameters:
        certificateId - the value to set
        Returns:
        this builder
      • certKeyAlgorithm

        public RoverNode.Builder certKeyAlgorithm​(CertKeyAlgorithm certKeyAlgorithm)
        key algorithm for issuing leaf certificate.
        Parameters:
        certKeyAlgorithm - the value to set
        Returns:
        this builder
      • certSignatureAlgorithm

        public RoverNode.Builder certSignatureAlgorithm​(CertSignatureAlgorithm certSignatureAlgorithm)
        signature algorithm for issuing leaf certificate.
        Parameters:
        certSignatureAlgorithm - the value to set
        Returns:
        this builder
      • tags

        public RoverNode.Builder tags​(String tags)
        The tags associated with tagSlug.
        Parameters:
        tags - the value to set
        Returns:
        this builder
      • freeformTags

        public RoverNode.Builder freeformTags​(Map<String,​String> freeformTags)
        The freeform tags associated with this resource, if any.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public RoverNode.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        The defined tags associated with this resource, if any.

        Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public RoverNode.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        The system tags associated with this resource, if any.

        The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder