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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The lifecycle state of the flow log collector. -
Method Summary
Modifier and TypeMethodDescriptionGets the createdAt.getCrn()
Gets the crn.getHref()
Gets the href.getId()
Gets the id.Gets the lifecycleState.getName()
Gets the name.Gets the resourceGroup.Gets the storageBucket.Gets the target.getVpc()
Gets the vpc.isActive()
Gets the active.Gets the autoDelete.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
isActive
Gets the active. Indicates whether this collector is active.- Returns:
- the active
-
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
Gets the createdAt. The date and time that the flow log collector was created.- Returns:
- the createdAt
-
getCrn
-
getHref
-
getId
Gets the id. The unique identifier for this flow log collector.- Returns:
- the id
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of the flow log collector.- Returns:
- the lifecycleState
-
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
Gets the resourceGroup. The resource group for this flow log collector.- Returns:
- the resourceGroup
-
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
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
Gets the vpc. The VPC this flow log collector resides in.- Returns:
- the vpc
-