Class InstanceAllowedIpAttachmentState.Builder

    • Method Detail

      • allowedIp

        public InstanceAllowedIpAttachmentState.Builder allowedIp​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> allowedIp)
        Parameters:
        allowedIp - The allowed ip. It can be a CIDR block.
        Returns:
        builder
      • allowedType

        public InstanceAllowedIpAttachmentState.Builder allowedType​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> allowedType)
        Parameters:
        allowedType - The type of whitelist. Valid Value: `vpc`, `internet`. **NOTE:** From version 1.179.0, `allowed_type` can be set to `internet`.
        Returns:
        builder
      • allowedType

        public InstanceAllowedIpAttachmentState.Builder allowedType​(java.lang.String allowedType)
        Parameters:
        allowedType - The type of whitelist. Valid Value: `vpc`, `internet`. **NOTE:** From version 1.179.0, `allowed_type` can be set to `internet`.
        Returns:
        builder
      • instanceId

        public InstanceAllowedIpAttachmentState.Builder instanceId​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> instanceId)
        Parameters:
        instanceId - The ID of the instance.
        Returns:
        builder
      • portRange

        public InstanceAllowedIpAttachmentState.Builder portRange​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> portRange)
        Parameters:
        portRange - The Port range. Valid Value: `9092/9092`, `9093/9093`. **NOTE:** From version 1.179.0, `port_range` can be set to `9093/9093`. - `9092/9092`: port range for a VPC whitelist. - `9093/9093`: port range for an Internet whitelist.
        Returns:
        builder
      • portRange

        public InstanceAllowedIpAttachmentState.Builder portRange​(java.lang.String portRange)
        Parameters:
        portRange - The Port range. Valid Value: `9092/9092`, `9093/9093`. **NOTE:** From version 1.179.0, `port_range` can be set to `9093/9093`. - `9092/9092`: port range for a VPC whitelist. - `9093/9093`: port range for an Internet whitelist.
        Returns:
        builder