Class VirtualNetworkInterfacePatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.VirtualNetworkInterfacePatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowIpSpoofing
(Boolean allowIpSpoofing) Set the allowIpSpoofing.autoDelete
(Boolean autoDelete) Set the autoDelete.build()
Builds a VirtualNetworkInterfacePatch.enableInfrastructureNat
(Boolean enableInfrastructureNat) Set the enableInfrastructureNat.Set the name.protocolStateFilteringMode
(String protocolStateFilteringMode) Set the protocolStateFilteringMode.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a VirtualNetworkInterfacePatch.- Returns:
- the new VirtualNetworkInterfacePatch instance
-
allowIpSpoofing
Set the allowIpSpoofing.- Parameters:
allowIpSpoofing
- the allowIpSpoofing- Returns:
- the VirtualNetworkInterfacePatch builder
-
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
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
-