Class SecurityGroup

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

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

    • getCreatedAt

      public Date getCreatedAt()
      Gets the createdAt. The date and time that this security group was created.
      Returns:
      the createdAt
    • getCrn

      public String getCrn()
      Gets the crn. The CRN for this security group.
      Returns:
      the crn
    • getHref

      public String getHref()
      Gets the href. The URL for this security group.
      Returns:
      the href
    • getId

      public String getId()
      Gets the id. The unique identifier for this security group.
      Returns:
      the id
    • getName

      public String getName()
      Gets the name. The name for this security group. The name is unique across all security groups for the VPC.
      Returns:
      the name
    • getResourceGroup

      public ResourceGroupReference getResourceGroup()
      Gets the resourceGroup. The resource group for this security group.
      Returns:
      the resourceGroup
    • getRules

      public List<SecurityGroupRule> getRules()
      Gets the rules. The rules for this security group. If no rules exist, all traffic will be denied.
      Returns:
      the rules
    • getTargets

      public List<SecurityGroupTargetReference> getTargets()
      Gets the targets. The targets for this security group.
      Returns:
      the targets
    • getVpc

      public VPCReference getVpc()
      Gets the vpc. The VPC this security group resides in.
      Returns:
      the vpc