Class Association.Builder

  • Enclosing class:
    Association

    public static class Association.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Association.Builder id​(String id)
        The OCID of the association.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public Association.Builder name​(String name)
        A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • timeCreated

        public Association.Builder timeCreated​(Date timeCreated)
        A property indicating when the association was created, expressed in RFC 3339 timestamp format.

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

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

        public Association.Builder lifecycleState​(AssociationLifecycleState lifecycleState)
        The current lifecycle state of the association.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • certificatesResourceId

        public Association.Builder certificatesResourceId​(String certificatesResourceId)
        The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
        Parameters:
        certificatesResourceId - the value to set
        Returns:
        this builder
      • associatedResourceId

        public Association.Builder associatedResourceId​(String associatedResourceId)
        The OCID of the associated resource.
        Parameters:
        associatedResourceId - the value to set
        Returns:
        this builder
      • compartmentId

        public Association.Builder compartmentId​(String compartmentId)
        The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • associationType

        public Association.Builder associationType​(AssociationType associationType)
        Type of the association.
        Parameters:
        associationType - the value to set
        Returns:
        this builder