Class KeyStore.Builder

  • Enclosing class:
    KeyStore

    public static class KeyStore.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public KeyStore.Builder id​(String id)
        The OCID of the key store.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

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

        public KeyStore.Builder displayName​(String displayName)
        The user-friendly name for the key store.

        The name does not need to be unique.

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

        public KeyStore.Builder timeCreated​(Date timeCreated)
        The date and time that the key store was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • lifecycleState

        public KeyStore.Builder lifecycleState​(KeyStore.LifecycleState lifecycleState)
        The current state of the key store.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

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

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

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