Class CreateSnapshotDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • fileSystemId

        public CreateSnapshotDetails.Builder fileSystemId​(String fileSystemId)
        The OCID of the file system to take a snapshot of.
        Parameters:
        fileSystemId - the value to set
        Returns:
        this builder
      • name

        public CreateSnapshotDetails.Builder name​(String name)
        Name of the snapshot.

        This value is immutable. It must also be unique with respect to all other non-DELETED snapshots on the associated file system.

        Avoid entering confidential information.

        Example: Sunday

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

        public CreateSnapshotDetails.Builder expirationTime​(Date expirationTime)
        The time when this snapshot will be deleted.
        Parameters:
        expirationTime - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateSnapshotDetails.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 CreateSnapshotDetails.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