Class LinkState.Builder

  • Enclosing class:
    LinkState

    public static final class LinkState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(LinkState defaults)
    • Method Detail

      • arn

        public LinkState.Builder arn​(@Nullable
                                     com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the link.
        Returns:
        builder
      • arn

        public LinkState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the link.
        Returns:
        builder
      • label

        public LinkState.Builder label​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> label)
        Parameters:
        label - Label that is assigned to this link.
        Returns:
        builder
      • label

        public LinkState.Builder label​(java.lang.String label)
        Parameters:
        label - Label that is assigned to this link.
        Returns:
        builder
      • labelTemplate

        public LinkState.Builder labelTemplate​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> labelTemplate)
        Parameters:
        labelTemplate - Human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.
        Returns:
        builder
      • labelTemplate

        public LinkState.Builder labelTemplate​(java.lang.String labelTemplate)
        Parameters:
        labelTemplate - Human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.
        Returns:
        builder
      • linkConfiguration

        public LinkState.Builder linkConfiguration​(@Nullable
                                                   com.pulumi.core.Output<LinkLinkConfigurationArgs> linkConfiguration)
        Parameters:
        linkConfiguration - Configuration for creating filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account. See `link_configuration` Block for details.
        Returns:
        builder
      • linkConfiguration

        public LinkState.Builder linkConfiguration​(LinkLinkConfigurationArgs linkConfiguration)
        Parameters:
        linkConfiguration - Configuration for creating filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account. See `link_configuration` Block for details.
        Returns:
        builder
      • linkId

        public LinkState.Builder linkId​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> linkId)
        Parameters:
        linkId - ID string that AWS generated as part of the link ARN.
        Returns:
        builder
      • linkId

        public LinkState.Builder linkId​(java.lang.String linkId)
        Parameters:
        linkId - ID string that AWS generated as part of the link ARN.
        Returns:
        builder
      • resourceTypes

        public LinkState.Builder resourceTypes​(@Nullable
                                               com.pulumi.core.Output<java.util.List<java.lang.String>> resourceTypes)
        Parameters:
        resourceTypes - Types of data that the source account shares with the monitoring account.
        Returns:
        builder
      • resourceTypes

        public LinkState.Builder resourceTypes​(java.util.List<java.lang.String> resourceTypes)
        Parameters:
        resourceTypes - Types of data that the source account shares with the monitoring account.
        Returns:
        builder
      • resourceTypes

        public LinkState.Builder resourceTypes​(java.lang.String... resourceTypes)
        Parameters:
        resourceTypes - Types of data that the source account shares with the monitoring account.
        Returns:
        builder
      • sinkArn

        public LinkState.Builder sinkArn​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> sinkArn)
        Parameters:
        sinkArn - ARN of the sink that is used for this link.
        Returns:
        builder
      • sinkArn

        public LinkState.Builder sinkArn​(java.lang.String sinkArn)
        Parameters:
        sinkArn - ARN of the sink that is used for this link.
        Returns:
        builder
      • sinkIdentifier

        public LinkState.Builder sinkIdentifier​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> sinkIdentifier)
        Parameters:
        sinkIdentifier - Identifier of the sink to use to create this link. The following arguments are optional:
        Returns:
        builder
      • sinkIdentifier

        public LinkState.Builder sinkIdentifier​(java.lang.String sinkIdentifier)
        Parameters:
        sinkIdentifier - Identifier of the sink to use to create this link. The following arguments are optional:
        Returns:
        builder
      • tags

        public LinkState.Builder tags​(@Nullable
                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public LinkState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public LinkState.Builder tagsAll​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public LinkState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Returns:
        builder