Package com.ibm.cloud.is.vpc.v1.model
Class VirtualNetworkInterfacePatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.VirtualNetworkInterfacePatch.Builder
-
- Enclosing class:
- VirtualNetworkInterfacePatch
public static class VirtualNetworkInterfacePatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualNetworkInterfacePatch.Builder
allowIpSpoofing(Boolean allowIpSpoofing)
Set the allowIpSpoofing.VirtualNetworkInterfacePatch.Builder
autoDelete(Boolean autoDelete)
Set the autoDelete.VirtualNetworkInterfacePatch
build()
Builds a VirtualNetworkInterfacePatch.VirtualNetworkInterfacePatch.Builder
enableInfrastructureNat(Boolean enableInfrastructureNat)
Set the enableInfrastructureNat.VirtualNetworkInterfacePatch.Builder
name(String name)
Set the name.VirtualNetworkInterfacePatch.Builder
protocolStateFilteringMode(String protocolStateFilteringMode)
Set the protocolStateFilteringMode.
-
-
-
Method Detail
-
build
public VirtualNetworkInterfacePatch build()
Builds a VirtualNetworkInterfacePatch.- Returns:
- the new VirtualNetworkInterfacePatch instance
-
allowIpSpoofing
public VirtualNetworkInterfacePatch.Builder allowIpSpoofing(Boolean allowIpSpoofing)
Set the allowIpSpoofing.- Parameters:
allowIpSpoofing
- the allowIpSpoofing- Returns:
- the VirtualNetworkInterfacePatch builder
-
autoDelete
public VirtualNetworkInterfacePatch.Builder autoDelete(Boolean autoDelete)
Set the autoDelete.- Parameters:
autoDelete
- the autoDelete- Returns:
- the VirtualNetworkInterfacePatch builder
-
enableInfrastructureNat
public VirtualNetworkInterfacePatch.Builder enableInfrastructureNat(Boolean enableInfrastructureNat)
Set the enableInfrastructureNat.- Parameters:
enableInfrastructureNat
- the enableInfrastructureNat- Returns:
- the VirtualNetworkInterfacePatch builder
-
name
public VirtualNetworkInterfacePatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the VirtualNetworkInterfacePatch builder
-
protocolStateFilteringMode
public VirtualNetworkInterfacePatch.Builder protocolStateFilteringMode(String protocolStateFilteringMode)
Set the protocolStateFilteringMode.- Parameters:
protocolStateFilteringMode
- the protocolStateFilteringMode- Returns:
- the VirtualNetworkInterfacePatch builder
-
-