Class TargetGroupState.Builder

  • Enclosing class:
    TargetGroupState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

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

        public TargetGroupState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the target group.
        Returns:
        builder
      • name

        public TargetGroupState.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
        Returns:
        builder
      • name

        public TargetGroupState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
        Returns:
        builder
      • region

        public TargetGroupState.Builder region​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public TargetGroupState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • status

        public TargetGroupState.Builder status​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - Status of the target group.
        Returns:
        builder
      • status

        public TargetGroupState.Builder status​(java.lang.String status)
        Parameters:
        status - Status of the target group.
        Returns:
        builder
      • tags

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

        public TargetGroupState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public TargetGroupState.Builder tagsAll​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public TargetGroupState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • type

        public TargetGroupState.Builder type​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of target group. Valid values are `IP`, `LAMBDA`, `INSTANCE`, or `ALB`. The following arguments are optional:
        Returns:
        builder
      • type

        public TargetGroupState.Builder type​(java.lang.String type)
        Parameters:
        type - Type of target group. Valid values are `IP`, `LAMBDA`, `INSTANCE`, or `ALB`. The following arguments are optional:
        Returns:
        builder