Package com.oracle.bmc.fusionapps.model
Class AdditionalEgressRule.Builder
- java.lang.Object
-
- com.oracle.bmc.fusionapps.model.AdditionalEgressRule.Builder
-
- Enclosing class:
- AdditionalEgressRule
public static class AdditionalEgressRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalEgressRulebuild()AdditionalEgressRule.Buildercopy(AdditionalEgressRule model)AdditionalEgressRule.Builderdescription(String description)Rule description.AdditionalEgressRule.BuilderdestinationCidr(String destinationCidr)Specifies the destination CIDR block the port should be opened for.AdditionalEgressRule.BuildermaxDestinationPort(Integer maxDestinationPort)The maximum port number, which must not be less than the minimum port number.AdditionalEgressRule.BuilderminDestinationPort(Integer minDestinationPort)The minimum port number, which must not be greater than the maximum port number.
-
-
-
Method Detail
-
description
public AdditionalEgressRule.Builder description(String description)
Rule description.- Parameters:
description- the value to set- Returns:
- this builder
-
destinationCidr
public AdditionalEgressRule.Builder destinationCidr(String destinationCidr)
Specifies the destination CIDR block the port should be opened for.Must be IPv4 only, and cannot be part of any private range from RFC 1918.
- Parameters:
destinationCidr- the value to set- Returns:
- this builder
-
maxDestinationPort
public AdditionalEgressRule.Builder maxDestinationPort(Integer maxDestinationPort)
The maximum port number, which must not be less than the minimum port number.To specify a single port number, set both the min and max to the same value.
- Parameters:
maxDestinationPort- the value to set- Returns:
- this builder
-
minDestinationPort
public AdditionalEgressRule.Builder minDestinationPort(Integer minDestinationPort)
The minimum port number, which must not be greater than the maximum port number.- Parameters:
minDestinationPort- the value to set- Returns:
- this builder
-
build
public AdditionalEgressRule build()
-
copy
public AdditionalEgressRule.Builder copy(AdditionalEgressRule model)
-
-