Interface GetLinkResponse.Builder

    • Method Detail

      • arn

        GetLinkResponse.Builder arn​(String arn)

        The ARN of the link.

        Parameters:
        arn - The ARN of the link.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        GetLinkResponse.Builder id​(String id)

        The random ID string that Amazon Web Services generated as part of the link ARN.

        Parameters:
        id - The random ID string that Amazon Web Services generated as part of the link ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • label

        GetLinkResponse.Builder label​(String label)

        The label that you assigned to this link, with the variables resolved to their actual values.

        Parameters:
        label - The label that you assigned to this link, with the variables resolved to their actual values.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelTemplate

        GetLinkResponse.Builder labelTemplate​(String labelTemplate)

        The exact label template that was specified when the link was created, with the template variables not resolved.

        Parameters:
        labelTemplate - The exact label template that was specified when the link was created, with the template variables not resolved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • linkConfiguration

        GetLinkResponse.Builder linkConfiguration​(LinkConfiguration linkConfiguration)

        This structure includes filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.

        Parameters:
        linkConfiguration - This structure includes filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypes

        GetLinkResponse.Builder resourceTypes​(Collection<String> resourceTypes)

        The resource types supported by this link.

        Parameters:
        resourceTypes - The resource types supported by this link.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypes

        GetLinkResponse.Builder resourceTypes​(String... resourceTypes)

        The resource types supported by this link.

        Parameters:
        resourceTypes - The resource types supported by this link.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sinkArn

        GetLinkResponse.Builder sinkArn​(String sinkArn)

        The ARN of the sink that is used for this link.

        Parameters:
        sinkArn - The ARN of the sink that is used for this link.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetLinkResponse.Builder tags​(Map<String,​String> tags)

        The tags assigned to the link.

        Parameters:
        tags - The tags assigned to the link.
        Returns:
        Returns a reference to this object so that method calls can be chained together.