com.baidubce.services.bcc.model.securitygroup
Enum SecurityGroupAction

java.lang.Object
  extended by java.lang.Enum<SecurityGroupAction>
      extended by com.baidubce.services.bcc.model.securitygroup.SecurityGroupAction
All Implemented Interfaces:
Serializable, Comparable<SecurityGroupAction>

public enum SecurityGroupAction
extends Enum<SecurityGroupAction>

The action for operating the security group.


Enum Constant Summary
authorizeRule
          authorizing a security group rule to a security group
revokeRule
          revoking a security group rule from the security group
 
Method Summary
static SecurityGroupAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SecurityGroupAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

authorizeRule

public static final SecurityGroupAction authorizeRule
authorizing a security group rule to a security group


revokeRule

public static final SecurityGroupAction revokeRule
revoking a security group rule from the security group

Method Detail

values

public static SecurityGroupAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SecurityGroupAction c : SecurityGroupAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SecurityGroupAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2020. All rights reserved.