Class FlowLogCollector

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.FlowLogCollector
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class FlowLogCollector extends com.ibm.cloud.sdk.core.service.model.GenericModel
FlowLogCollector.
  • Method Details

    • isActive

      public Boolean isActive()
      Gets the active. Indicates whether this collector is active.
      Returns:
      the active
    • isAutoDelete

      public Boolean isAutoDelete()
      Gets the autoDelete. Indicates whether this flow log collector will be automatically deleted when `target` is deleted. At present, this is always `true`, but may be modifiable in the future.
      Returns:
      the autoDelete
    • getCreatedAt

      public Date getCreatedAt()
      Gets the createdAt. The date and time that the flow log collector was created.
      Returns:
      the createdAt
    • getCrn

      public String getCrn()
      Gets the crn. The CRN for this flow log collector.
      Returns:
      the crn
    • getHref

      public String getHref()
      Gets the href. The URL for this flow log collector.
      Returns:
      the href
    • getId

      public String getId()
      Gets the id. The unique identifier for this flow log collector.
      Returns:
      the id
    • getLifecycleState

      public String getLifecycleState()
      Gets the lifecycleState. The lifecycle state of the flow log collector.
      Returns:
      the lifecycleState
    • getName

      public String getName()
      Gets the name. The name for this flow log collector. The name is unique across all flow log collectors in the VPC.
      Returns:
      the name
    • getResourceGroup

      public ResourceGroupReference getResourceGroup()
      Gets the resourceGroup. The resource group for this flow log collector.
      Returns:
      the resourceGroup
    • getStorageBucket

      public LegacyCloudObjectStorageBucketReference getStorageBucket()
      Gets the storageBucket. The Cloud Object Storage bucket where the collected flows are logged. For more information, see [Viewing flow log objects](https://cloud.ibm.com/docs/vpc?topic=vpc-fl-analyze).
      Returns:
      the storageBucket
    • getTarget

      public FlowLogCollectorTarget getTarget()
      Gets the target. 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.
      Returns:
      the target
    • getVpc

      public VPCReference getVpc()
      Gets the vpc. The VPC this flow log collector resides in.
      Returns:
      the vpc