Class SecurityAttributeSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

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

        public SecurityAttributeSummary.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
      • name

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

        This is the security attribute. 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 SecurityAttributeSummary.Builder description​(String description)
        The description you assign to the security attribute.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • lifecycleState

        public SecurityAttributeSummary.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 security attribute’s lifecycleState changes from DELETING to DELETED.

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

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