Class CreateDatastoreDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public CreateDatastoreDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment to contain the Datastore.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • blockVolumeIds

        public CreateDatastoreDetails.Builder blockVolumeIds​(List<String> blockVolumeIds)
        The List of Block volume OCIDs that belong to the Datastore.
        Parameters:
        blockVolumeIds - the value to set
        Returns:
        this builder
      • displayName

        public CreateDatastoreDetails.Builder displayName​(String displayName)
        A descriptive name for the Datastore.

        It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.

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

        public CreateDatastoreDetails.Builder datastoreClusterId​(String datastoreClusterId)
        The OCID of the datastore cluster that Datastore belongs to.
        Parameters:
        datastoreClusterId - the value to set
        Returns:
        this builder
      • availabilityDomain

        public CreateDatastoreDetails.Builder availabilityDomain​(String availabilityDomain)
        The availability domain to create the Datastore in.
        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateDatastoreDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        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 CreateDatastoreDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

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