/** * @return a Builder from another ExternalGatewayInfo. */ public Builder fromExternalGatewayInfo(ExternalGatewayInfo in) { return this.networkId(in.getNetworkId()).enableSnat(in.getEnableSnat()); } }
/** * @return a Builder from another AddressPair. */ public Builder fromAddressPair(AddressPair in) { return this.macAddress(in.getMacAddress()).ipAddress(in.getIpAddress()); } }
public Builder fromHostRoute(HostRoute in) { return this.destinationCidr(in.getDestinationCidr()).nextHop(in.getNextHop()); } }
/** * @return a Builder from another ExtraDhcpOption. */ public Builder fromExtraDhcpOption(ExtraDhcpOption in) { return this.id(in.getId()).optionName(in.getOptionName()).optionValue(in.getOptionValue()); } }
/** * @return a Builder from another NetworkSegment. */ public Builder fromNetworkSegment(NetworkSegment in) { return this.networkType(in.getNetworkType()).physicalNetwork(in.getPhysicalNetwork()) .segmentationId(in.getSegmentationId()); } }
/** * @return a Builder from another IP. */ public Builder fromIP(IP in) { return this.ipAddress(in.getIpAddress()).subnetId(in.getSubnetId()); } }
/** * @return a Builder from another RouterInterface. */ public Builder fromRouterInterface(RouterInterface in) { return this.subnetId(in.getSubnetId()).portId(in.getPortId()); } }
public static Builder builder() { return new AutoValue_UpdateFirewallRule.Builder().shared(false).enabled(false).position(null); }
public static Builder builder() { return new AutoValue_CreateFirewallPolicy.Builder().shared(false).audited(false); }
public static Builder builder() { return new AutoValue_UpdateFirewallPolicy.Builder().shared(false).audited(false); }
@Override public boolean apply(Rule input) { return RuleDirection.INGRESS.equals(input.getDirection()); } })), 1);
public Builder fromHostRoute(HostRoute in) { return this.destinationCidr(in.getDestinationCidr()).nextHop(in.getNextHop()); } }
/** * @return a Builder from another ExternalGatewayInfo. */ public Builder fromExternalGatewayInfo(ExternalGatewayInfo in) { return this.networkId(in.getNetworkId()).enableSnat(in.getEnableSnat()); } }
/** * @return a Builder from another ExtraDhcpOption. */ public Builder fromExtraDhcpOption(ExtraDhcpOption in) { return this.id(in.getId()).optionName(in.getOptionName()).optionValue(in.getOptionValue()); } }
/** * @return a Builder from another NetworkSegment. */ public Builder fromNetworkSegment(NetworkSegment in) { return this.networkType(in.getNetworkType()).physicalNetwork(in.getPhysicalNetwork()) .segmentationId(in.getSegmentationId()); } }
/** * @return a Builder from another IP. */ public Builder fromIP(IP in) { return this.ipAddress(in.getIpAddress()).subnetId(in.getSubnetId()); } }
/** * @return a Builder from another AddressPair. */ public Builder fromAddressPair(AddressPair in) { return this.macAddress(in.getMacAddress()).ipAddress(in.getIpAddress()); } }
/** * @return a Builder from another RouterInterface. */ public Builder fromRouterInterface(RouterInterface in) { return this.subnetId(in.getSubnetId()).portId(in.getPortId()); } }