Package com.ibm.cloud.is.vpc.v1.model
Class VPNGatewayConnectionPolicyModePeer
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.VPNGatewayConnectionPolicyModePeer
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress
,VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFQDN
public class VPNGatewayConnectionPolicyModePeer extends com.ibm.cloud.sdk.core.service.model.GenericModel
VPNGatewayConnectionPolicyModePeer. Classes which extend this class: - VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByAddress - VPNGatewayConnectionPolicyModePeerVPNGatewayConnectionPeerByFQDN
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VPNGatewayConnectionPolicyModePeer.Type
Indicates whether `peer.address` or `peer.fqdn` is used.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
Gets the address.List<String>
getCidrs()
Gets the cidrs.String
getFqdn()
Gets the fqdn.VPNGatewayConnectionIKEIdentity
getIkeIdentity()
Gets the ikeIdentity.String
getType()
Gets the type.
-
-
-
Method Detail
-
getCidrs
public List<String> getCidrs()
Gets the cidrs. The peer CIDRs for this VPN gateway connection.- Returns:
- the cidrs
-
getIkeIdentity
public VPNGatewayConnectionIKEIdentity getIkeIdentity()
Gets the ikeIdentity. The peer IKE identity.- Returns:
- the ikeIdentity
-
getType
public String getType()
Gets the type. Indicates whether `peer.address` or `peer.fqdn` is used.- Returns:
- the type
-
getAddress
public String getAddress()
Gets the address. The IP address of the peer VPN gateway for this connection.- Returns:
- the address
-
getFqdn
public String getFqdn()
Gets the fqdn. The FQDN of the peer VPN gateway for this connection.- Returns:
- the fqdn
-
-