Interface Relationship.Builder

    • Method Detail

      • resourceType

        Relationship.Builder resourceType​(String resourceType)

        The resource type of the related resource.

        Parameters:
        resourceType - The resource type of the related resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • resourceType

        Relationship.Builder resourceType​(ResourceType resourceType)

        The resource type of the related resource.

        Parameters:
        resourceType - The resource type of the related resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • resourceId

        Relationship.Builder resourceId​(String resourceId)

        The ID of the related resource (for example, sg-xxxxxx).

        Parameters:
        resourceId - The ID of the related resource (for example, sg-xxxxxx).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceName

        Relationship.Builder resourceName​(String resourceName)

        The custom name of the related resource, if available.

        Parameters:
        resourceName - The custom name of the related resource, if available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relationshipName

        Relationship.Builder relationshipName​(String relationshipName)

        The type of relationship with the related resource.

        Parameters:
        relationshipName - The type of relationship with the related resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.