Class DefaultSecurityGroup

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

    public class DefaultSecurityGroup
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    DefaultSecurityGroup.
    • Method Detail

      • 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 the default security group for a VPC. The name will be a hyphenated list of randomly-selected words at creation, but may changed.
        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 the default security group for a VPC. Defaults to allowing all outbound traffic, and allowing all inbound traffic from other interfaces in the VPC's default security group. Rules for the default security group may be changed, added or removed.
        Returns:
        the rules
      • getVpc

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