Class InstanceAllowedIpAttachmentState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.alikafka.inputs.InstanceAllowedIpAttachmentState.Builder
-
- Enclosing class:
- InstanceAllowedIpAttachmentState
public static final class InstanceAllowedIpAttachmentState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(InstanceAllowedIpAttachmentState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceAllowedIpAttachmentState.Builder
allowedIp(com.pulumi.core.Output<java.lang.String> allowedIp)
InstanceAllowedIpAttachmentState.Builder
allowedIp(java.lang.String allowedIp)
InstanceAllowedIpAttachmentState.Builder
allowedType(com.pulumi.core.Output<java.lang.String> allowedType)
InstanceAllowedIpAttachmentState.Builder
allowedType(java.lang.String allowedType)
InstanceAllowedIpAttachmentState
build()
InstanceAllowedIpAttachmentState.Builder
instanceId(com.pulumi.core.Output<java.lang.String> instanceId)
InstanceAllowedIpAttachmentState.Builder
instanceId(java.lang.String instanceId)
InstanceAllowedIpAttachmentState.Builder
portRange(com.pulumi.core.Output<java.lang.String> portRange)
InstanceAllowedIpAttachmentState.Builder
portRange(java.lang.String portRange)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceAllowedIpAttachmentState defaults)
-
-
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
-
allowedIp
public InstanceAllowedIpAttachmentState.Builder allowedIp(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
-
instanceId
public InstanceAllowedIpAttachmentState.Builder instanceId(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
-
build
public InstanceAllowedIpAttachmentState build()
-
-