Interface Relationship.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Relationship.Builder,Relationship>, SdkBuilder<Relationship.Builder,Relationship>, SdkPojo
Enclosing class:
Relationship

public static interface Relationship.Builder extends SdkPojo, CopyableBuilder<Relationship.Builder,Relationship>
  • Method Details

    • 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

      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:
    • 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.