Class InterfaceAttachState.Builder
- java.lang.Object
-
- com.pulumi.openstack.compute.inputs.InterfaceAttachState.Builder
-
- Enclosing class:
- InterfaceAttachState
public static final class InterfaceAttachState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(InterfaceAttachState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterfaceAttachStatebuild()InterfaceAttachState.BuilderfixedIp(com.pulumi.core.Output<java.lang.String> fixedIp)InterfaceAttachState.BuilderfixedIp(java.lang.String fixedIp)InterfaceAttachState.BuilderinstanceId(com.pulumi.core.Output<java.lang.String> instanceId)InterfaceAttachState.BuilderinstanceId(java.lang.String instanceId)InterfaceAttachState.BuildernetworkId(com.pulumi.core.Output<java.lang.String> networkId)InterfaceAttachState.BuildernetworkId(java.lang.String networkId)InterfaceAttachState.BuilderportId(com.pulumi.core.Output<java.lang.String> portId)InterfaceAttachState.BuilderportId(java.lang.String portId)InterfaceAttachState.Builderregion(com.pulumi.core.Output<java.lang.String> region)InterfaceAttachState.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InterfaceAttachState defaults)
-
-
Method Detail
-
fixedIp
public InterfaceAttachState.Builder fixedIp(@Nullable com.pulumi.core.Output<java.lang.String> fixedIp)
- Parameters:
fixedIp- An IP address to assosciate with the port. _NOTE_: This option cannot be used with port_id. You must specifiy a network_id. The IP address must lie in a range on the supplied network.- Returns:
- builder
-
fixedIp
public InterfaceAttachState.Builder fixedIp(java.lang.String fixedIp)
- Parameters:
fixedIp- An IP address to assosciate with the port. _NOTE_: This option cannot be used with port_id. You must specifiy a network_id. The IP address must lie in a range on the supplied network.- Returns:
- builder
-
instanceId
public InterfaceAttachState.Builder instanceId(@Nullable com.pulumi.core.Output<java.lang.String> instanceId)
- Parameters:
instanceId- The ID of the Instance to attach the Port or Network to.- Returns:
- builder
-
instanceId
public InterfaceAttachState.Builder instanceId(java.lang.String instanceId)
- Parameters:
instanceId- The ID of the Instance to attach the Port or Network to.- Returns:
- builder
-
networkId
public InterfaceAttachState.Builder networkId(@Nullable com.pulumi.core.Output<java.lang.String> networkId)
- Parameters:
networkId- The ID of the Network to attach to an Instance. A port will be created automatically. _NOTE_: This option and `port_id` are mutually exclusive.- Returns:
- builder
-
networkId
public InterfaceAttachState.Builder networkId(java.lang.String networkId)
- Parameters:
networkId- The ID of the Network to attach to an Instance. A port will be created automatically. _NOTE_: This option and `port_id` are mutually exclusive.- Returns:
- builder
-
portId
public InterfaceAttachState.Builder portId(@Nullable com.pulumi.core.Output<java.lang.String> portId)
- Parameters:
portId- The ID of the Port to attach to an Instance. _NOTE_: This option and `network_id` are mutually exclusive.- Returns:
- builder
-
portId
public InterfaceAttachState.Builder portId(java.lang.String portId)
- Parameters:
portId- The ID of the Port to attach to an Instance. _NOTE_: This option and `network_id` are mutually exclusive.- Returns:
- builder
-
region
public InterfaceAttachState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- The region in which to create the interface attachment. If omitted, the `region` argument of the provider is used. Changing this creates a new attachment.- Returns:
- builder
-
region
public InterfaceAttachState.Builder region(java.lang.String region)
- Parameters:
region- The region in which to create the interface attachment. If omitted, the `region` argument of the provider is used. Changing this creates a new attachment.- Returns:
- builder
-
build
public InterfaceAttachState build()
-
-