Class ServerGroupState.Builder

  • Enclosing class:
    ServerGroupState

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

      • Builder

        public Builder()
    • Method Detail

      • addressIpVersion

        public ServerGroupState.Builder addressIpVersion​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> addressIpVersion)
        Parameters:
        addressIpVersion - The protocol version. Valid values: `Ipv4` (default), `DualStack`.
        Returns:
        builder
      • addressIpVersion

        public ServerGroupState.Builder addressIpVersion​(java.lang.String addressIpVersion)
        Parameters:
        addressIpVersion - The protocol version. Valid values: `Ipv4` (default), `DualStack`.
        Returns:
        builder
      • connectionDrain

        public ServerGroupState.Builder connectionDrain​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> connectionDrain)
        Parameters:
        connectionDrain - Specifies whether to enable connection draining.
        Returns:
        builder
      • connectionDrain

        public ServerGroupState.Builder connectionDrain​(java.lang.Boolean connectionDrain)
        Parameters:
        connectionDrain - Specifies whether to enable connection draining.
        Returns:
        builder
      • connectionDrainTimeout

        public ServerGroupState.Builder connectionDrainTimeout​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Integer> connectionDrainTimeout)
        Parameters:
        connectionDrainTimeout - The timeout period of connection draining. Unit: seconds. Valid values: 10 to 900.
        Returns:
        builder
      • connectionDrainTimeout

        public ServerGroupState.Builder connectionDrainTimeout​(java.lang.Integer connectionDrainTimeout)
        Parameters:
        connectionDrainTimeout - The timeout period of connection draining. Unit: seconds. Valid values: 10 to 900.
        Returns:
        builder
      • preserveClientIpEnabled

        public ServerGroupState.Builder preserveClientIpEnabled​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> preserveClientIpEnabled)
        Parameters:
        preserveClientIpEnabled - Indicates whether client address retention is enabled.
        Returns:
        builder
      • preserveClientIpEnabled

        public ServerGroupState.Builder preserveClientIpEnabled​(java.lang.Boolean preserveClientIpEnabled)
        Parameters:
        preserveClientIpEnabled - Indicates whether client address retention is enabled.
        Returns:
        builder
      • protocol

        public ServerGroupState.Builder protocol​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - The backend protocol. Valid values: `TCP` (default), `UDP`, and `TCPSSL`.
        Returns:
        builder
      • protocol

        public ServerGroupState.Builder protocol​(java.lang.String protocol)
        Parameters:
        protocol - The backend protocol. Valid values: `TCP` (default), `UDP`, and `TCPSSL`.
        Returns:
        builder
      • resourceGroupId

        public ServerGroupState.Builder resourceGroupId​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> resourceGroupId)
        Parameters:
        resourceGroupId - The ID of the resource group to which the security group belongs.
        Returns:
        builder
      • resourceGroupId

        public ServerGroupState.Builder resourceGroupId​(java.lang.String resourceGroupId)
        Parameters:
        resourceGroupId - The ID of the resource group to which the security group belongs.
        Returns:
        builder
      • scheduler

        public ServerGroupState.Builder scheduler​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> scheduler)
        Parameters:
        scheduler - The routing algorithm. Valid values:
        Returns:
        builder
      • scheduler

        public ServerGroupState.Builder scheduler​(java.lang.String scheduler)
        Parameters:
        scheduler - The routing algorithm. Valid values:
        Returns:
        builder
      • serverGroupName

        public ServerGroupState.Builder serverGroupName​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> serverGroupName)
        Parameters:
        serverGroupName - The name of the server group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
        Returns:
        builder
      • serverGroupName

        public ServerGroupState.Builder serverGroupName​(java.lang.String serverGroupName)
        Parameters:
        serverGroupName - The name of the server group. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
        Returns:
        builder
      • serverGroupType

        public ServerGroupState.Builder serverGroupType​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> serverGroupType)
        Parameters:
        serverGroupType - The type of the server group. Valid values:
        Returns:
        builder
      • serverGroupType

        public ServerGroupState.Builder serverGroupType​(java.lang.String serverGroupType)
        Parameters:
        serverGroupType - The type of the server group. Valid values:
        Returns:
        builder
      • status

        public ServerGroupState.Builder status​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The status of the resource.
        Returns:
        builder
      • status

        public ServerGroupState.Builder status​(java.lang.String status)
        Parameters:
        status - The status of the resource.
        Returns:
        builder
      • tags

        public ServerGroupState.Builder tags​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource.
        Returns:
        builder
      • tags

        public ServerGroupState.Builder tags​(java.util.Map<java.lang.String,​java.lang.Object> tags)
        Parameters:
        tags - A mapping of tags to assign to the resource.
        Returns:
        builder
      • vpcId

        public ServerGroupState.Builder vpcId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - The id of the vpc.
        Returns:
        builder
      • vpcId

        public ServerGroupState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - The id of the vpc.
        Returns:
        builder