Class KeyVersionSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public KeyVersionSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains this key version.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • keyId

        public KeyVersionSummary.Builder keyId​(String keyId)
        The OCID of the master encryption key associated with this key version.
        Parameters:
        keyId - the value to set
        Returns:
        this builder
      • origin

        public KeyVersionSummary.Builder origin​(KeyVersionSummary.Origin origin)
        The source of the key material.

        When this value is INTERNAL, Key Management created the key material. When this value is EXTERNAL, the key material was imported from an external source.

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

        public KeyVersionSummary.Builder timeCreated​(Date timeCreated)
        The date and time this key version was created, expressed in RFC 3339 timestamp format.

        Example: 2018-04-03T21:10:29.600Z

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

        public KeyVersionSummary.Builder timeOfDeletion​(Date timeOfDeletion)
        An optional property to indicate when to delete the key version, expressed in RFC 3339 timestamp format.

        Example: 2019-04-03T21:10:29.600Z

        Parameters:
        timeOfDeletion - the value to set
        Returns:
        this builder
      • vaultId

        public KeyVersionSummary.Builder vaultId​(String vaultId)
        The OCID of the vault that contains this key version.
        Parameters:
        vaultId - the value to set
        Returns:
        this builder
      • isAutoRotated

        public KeyVersionSummary.Builder isAutoRotated​(Boolean isAutoRotated)
        An optional property indicating whether this keyversion is generated from auto rotatation.
        Parameters:
        isAutoRotated - the value to set
        Returns:
        this builder