Class SecurityAttribute.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public SecurityAttribute.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the security attribute definition.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • securityAttributeNamespaceId

        public SecurityAttribute.Builder securityAttributeNamespaceId​(String securityAttributeNamespaceId)
        The OCID of the security attribute namespace that contains the security attribute definition.
        Parameters:
        securityAttributeNamespaceId - the value to set
        Returns:
        this builder
      • securityAttributeNamespaceName

        public SecurityAttribute.Builder securityAttributeNamespaceName​(String securityAttributeNamespaceName)
        The name of the security attribute namespace that contains the security attribute.
        Parameters:
        securityAttributeNamespaceName - the value to set
        Returns:
        this builder
      • id

        public SecurityAttribute.Builder id​(String id)
        The OCID of the security attribute definition.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public SecurityAttribute.Builder name​(String name)
        The name assigned to the security attribute during creation.

        This is the security attribute key. The name must be unique within the security attribute namespace and cannot be changed.

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

        public SecurityAttribute.Builder description​(String description)
        The description of the security attribute.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • type

        public SecurityAttribute.Builder type​(String type)
        The data type of the security attribute.
        Parameters:
        type - the value to set
        Returns:
        this builder
      • lifecycleState

        public SecurityAttribute.Builder lifecycleState​(SecurityAttribute.LifecycleState lifecycleState)
        The security attribute’s current state.

        After creating a security attribute, make sure its lifecycleState is ACTIVE before using it. After retiring a security attribute, make sure its lifecycleState is INACTIVE before using it. If you delete a security attribute, you cannot delete another security attribute until the deleted tag’s lifecycleState changes from DELETING to DELETED.

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

        public SecurityAttribute.Builder timeCreated​(Date timeCreated)
        Date and time the security attribute was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

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