Package com.ibm.cloud.is.vpc.v1.model
Class FlowLogCollectorTarget
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.FlowLogCollectorTarget
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
- Direct Known Subclasses:
FlowLogCollectorTargetInstanceNetworkAttachmentReference
,FlowLogCollectorTargetInstanceReference
,FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext
,FlowLogCollectorTargetSubnetReference
,FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext
,FlowLogCollectorTargetVPCReference
public class FlowLogCollectorTarget extends com.ibm.cloud.sdk.core.service.model.GenericModel
The target this collector is collecting flow logs for. - If the target is an instance network attachment, flow logs will be collected for that instance network attachment. - If the target is an instance network interface, flow logs will be collected for that instance network interface. - If the target is a virtual network interface, flow logs will be collected for the virtual network interface's `target` resource if the resource is an instance network attachment, unless the target resource is itself the target of a flow log collector. - If the target is a virtual server instance, flow logs will be collected for all network attachments or network interfaces on that instance. - If the target is a subnet, flow logs will be collected for all instance network interfaces and virtual network interfaces attached to that subnet. - If the target is a VPC, flow logs will be collected for all instance network interfaces and virtual network interfaces attached to all subnets within that VPC. If the target is an instance, subnet, or VPC, flow logs will not be collected for any instance network attachments or instance network interfaces within the target that are themselves the target of a more specific flow log collector. Classes which extend this class: - FlowLogCollectorTargetNetworkInterfaceReferenceTargetContext - FlowLogCollectorTargetInstanceReference - FlowLogCollectorTargetSubnetReference - FlowLogCollectorTargetVPCReference - FlowLogCollectorTargetInstanceNetworkAttachmentReference - FlowLogCollectorTargetVirtualNetworkInterfaceReferenceAttachmentContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FlowLogCollectorTarget.ResourceType
The resource type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCrn()
Gets the crn.Deleted
getDeleted()
Gets the deleted.String
getHref()
Gets the href.String
getId()
Gets the id.String
getName()
Gets the name.ReservedIPReference
getPrimaryIp()
Gets the primaryIp.String
getResourceType()
Gets the resourceType.SubnetReference
getSubnet()
Gets the subnet.VirtualNetworkInterfaceReferenceAttachmentContext
getVirtualNetworkInterface()
Gets the virtualNetworkInterface.
-
-
-
Method Detail
-
getDeleted
public Deleted getDeleted()
Gets the deleted. If present, this property indicates the referenced resource has been deleted, and provides some supplementary information.- Returns:
- the deleted
-
getHref
public String getHref()
Gets the href. The URL for this instance network interface. If this instance has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this instance network interface. If this instance has network attachments, this network interface is a [read-only representation](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about#vni-old-api-clients) of its corresponding network attachment and its attached virtual network interface, and the identifier is that of the corresponding network attachment.- Returns:
- the id
-
getName
public String getName()
Gets the name. The name for this instance network interface.- Returns:
- the name
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getCrn
public String getCrn()
Gets the crn. The CRN for this virtual server instance.- Returns:
- the crn
-
getPrimaryIp
public ReservedIPReference getPrimaryIp()
Gets the primaryIp. The primary IP address of the virtual network interface for the instance network attachment.- Returns:
- the primaryIp
-
getSubnet
public SubnetReference getSubnet()
Gets the subnet. The subnet of the virtual network interface for the instance network attachment.- Returns:
- the subnet
-
getVirtualNetworkInterface
public VirtualNetworkInterfaceReferenceAttachmentContext getVirtualNetworkInterface()
Gets the virtualNetworkInterface. The virtual network interface for this instance network attachment.- Returns:
- the virtualNetworkInterface
-
-