Class LbState.Builder

  • Enclosing class:
    LbState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(LbState defaults)
    • Method Detail

      • arn

        public LbState.Builder arn​(@Nullable
                                   com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the Lightsail load balancer.
        Returns:
        builder
      • arn

        public LbState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the Lightsail load balancer.
        Returns:
        builder
      • createdAt

        public LbState.Builder createdAt​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - The timestamp when the load balancer was created.
        Returns:
        builder
      • createdAt

        public LbState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - The timestamp when the load balancer was created.
        Returns:
        builder
      • dnsName

        public LbState.Builder dnsName​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> dnsName)
        Parameters:
        dnsName - The DNS name of the load balancer.
        Returns:
        builder
      • dnsName

        public LbState.Builder dnsName​(java.lang.String dnsName)
        Parameters:
        dnsName - The DNS name of the load balancer.
        Returns:
        builder
      • healthCheckPath

        public LbState.Builder healthCheckPath​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> healthCheckPath)
        Parameters:
        healthCheckPath - The health check path of the load balancer. Default value "/".
        Returns:
        builder
      • healthCheckPath

        public LbState.Builder healthCheckPath​(java.lang.String healthCheckPath)
        Parameters:
        healthCheckPath - The health check path of the load balancer. Default value "/".
        Returns:
        builder
      • instancePort

        public LbState.Builder instancePort​(@Nullable
                                            com.pulumi.core.Output<java.lang.Integer> instancePort)
        Parameters:
        instancePort - The instance port the load balancer will connect.
        Returns:
        builder
      • instancePort

        public LbState.Builder instancePort​(java.lang.Integer instancePort)
        Parameters:
        instancePort - The instance port the load balancer will connect.
        Returns:
        builder
      • ipAddressType

        public LbState.Builder ipAddressType​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> ipAddressType)
      • ipAddressType

        public LbState.Builder ipAddressType​(java.lang.String ipAddressType)
      • name

        public LbState.Builder name​(@Nullable
                                    com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the Lightsail load balancer.
        Returns:
        builder
      • name

        public LbState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the Lightsail load balancer.
        Returns:
        builder
      • protocol

        public LbState.Builder protocol​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - The protocol of the load balancer.
        Returns:
        builder
      • protocol

        public LbState.Builder protocol​(java.lang.String protocol)
        Parameters:
        protocol - The protocol of the load balancer.
        Returns:
        builder
      • publicPorts

        public LbState.Builder publicPorts​(@Nullable
                                           com.pulumi.core.Output<java.util.List<java.lang.Integer>> publicPorts)
        Parameters:
        publicPorts - The public ports of the load balancer.
        Returns:
        builder
      • publicPorts

        public LbState.Builder publicPorts​(java.util.List<java.lang.Integer> publicPorts)
        Parameters:
        publicPorts - The public ports of the load balancer.
        Returns:
        builder
      • publicPorts

        public LbState.Builder publicPorts​(java.lang.Integer... publicPorts)
        Parameters:
        publicPorts - The public ports of the load balancer.
        Returns:
        builder
      • supportCode

        public LbState.Builder supportCode​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> supportCode)
        Parameters:
        supportCode - The support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.
        Returns:
        builder
      • supportCode

        public LbState.Builder supportCode​(java.lang.String supportCode)
        Parameters:
        supportCode - The support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.
        Returns:
        builder
      • tags

        public LbState.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. To create a key-only tag, use an empty string as the value. 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 LbState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. 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 LbState.Builder tagsAll​(@Nullable
                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public LbState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder