Class DatabaseSnapshot.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public DatabaseSnapshot.Builder name​(String name)
        The user-friendly name for the Database Snapshot.

        The name should be unique.

        Parameters:
        name - the value to set
        Returns:
        this builder
      • databaseId

        public DatabaseSnapshot.Builder databaseId​(String databaseId)
        The OCID of the Exadata Database.
        Parameters:
        databaseId - the value to set
        Returns:
        this builder
      • timeCreated

        public DatabaseSnapshot.Builder timeCreated​(Date timeCreated)
        The date and time that the Exadata Database Snapshot was created, as expressed in RFC 3339 format.

        For example: 2023-06-27T21:10:29Z

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

        public DatabaseSnapshot.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state of the Exadata Database Snapshot.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public DatabaseSnapshot.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
      • compartmentId

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