Class ClusterNetworkInterface

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ClusterNetworkInterface
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The associated cluster network subnet.
    • Method Detail

      • isAllowIpSpoofing

        public Boolean isAllowIpSpoofing()
        Gets the allowIpSpoofing. Indicates whether source IP spoofing is allowed on this cluster network interface. If `false`, source IP spoofing is prevented on this cluster network interface. If `true`, source IP spoofing is allowed on this cluster network interface.
        Returns:
        the allowIpSpoofing
      • isAutoDelete

        public Boolean isAutoDelete()
        Gets the autoDelete. Indicates whether this cluster network interface will be automatically deleted when `target` is deleted.
        Returns:
        the autoDelete
      • getCreatedAt

        public Date getCreatedAt()
        Gets the createdAt. The date and time that the cluster network interface was created.
        Returns:
        the createdAt
      • isEnableInfrastructureNat

        public Boolean isEnableInfrastructureNat()
        Gets the enableInfrastructureNat. If `true`: - The VPC infrastructure performs any needed NAT operations. - `floating_ips` must not have more than one floating IP. If `false`: - Packets are passed unchanged to/from the virtual network interface, allowing the workload to perform any needed NAT operations.
        Returns:
        the enableInfrastructureNat
      • getHref

        public String getHref()
        Gets the href. The URL for this cluster network interface.
        Returns:
        the href
      • getId

        public String getId()
        Gets the id. The unique identifier for this cluster network interface.
        Returns:
        the id
      • getLifecycleReasons

        public List<ClusterNetworkInterfaceLifecycleReason> getLifecycleReasons()
        Gets the lifecycleReasons. The reasons for the current `lifecycle_state` (if any).
        Returns:
        the lifecycleReasons
      • getLifecycleState

        public String getLifecycleState()
        Gets the lifecycleState. The lifecycle state of the cluster network interface.
        Returns:
        the lifecycleState
      • getMacAddress

        public String getMacAddress()
        Gets the macAddress. The MAC address of the cluster network interface. May be absent if `lifecycle_state` is `pending`.
        Returns:
        the macAddress
      • getName

        public String getName()
        Gets the name. The name for this cluster network interface. The name is unique across all interfaces in the cluster network.
        Returns:
        the name
      • getPrimaryIp

        public ClusterNetworkSubnetReservedIPReference getPrimaryIp()
        Gets the primaryIp. The cluster network subnet reserved IP for this cluster network interface.
        Returns:
        the primaryIp
      • getResourceType

        public String getResourceType()
        Gets the resourceType. The resource type.
        Returns:
        the resourceType
      • getTarget

        public ClusterNetworkInterfaceTarget getTarget()
        Gets the target. The target of this cluster network interface. If absent, this cluster network interface is not attached to a target. The resources supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
        Returns:
        the target
      • getVpc

        public VPCReference getVpc()
        Gets the vpc. The VPC this cluster network interface resides in.
        Returns:
        the vpc
      • getZone

        public ZoneReference getZone()
        Gets the zone. The zone this cluster network interface resides in.
        Returns:
        the zone