com.baidubce.services.bcc.model.instance
Enum RelatedRenewFlagType

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

public enum RelatedRenewFlagType
extends Enum<RelatedRenewFlagType>

The optional flag for instance related renew.


Enum Constant Summary
CDS
          Only renew the prepaid CDS which is associated with the BCC instance.
CDS_EIP
          Only renew the prepaid CDS、EIP which are associated with the BCC instance.
CDS_EIP_MKT
          Only renew the prepaid CDS、EIP、MKT which are associated with the BCC instance.
CDS_MKT
          Only renew the prepaid CDS、MKT which are associated with the BCC instance.
EIP
          Only renew the prepaid EIP which is associated with the BCC instance.
EIP_MKT
          Only renew the prepaid EIP、MKT which are associated with the BCC instance.
MKT
          Only renew the prepaid MKT which is associated with the BCC instance.
 
Method Summary
static boolean isExists(RelatedRenewFlagType relatedRenewFlagType)
           
static RelatedRenewFlagType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RelatedRenewFlagType[] 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

CDS

public static final RelatedRenewFlagType CDS
Only renew the prepaid CDS which is associated with the BCC instance.


EIP

public static final RelatedRenewFlagType EIP
Only renew the prepaid EIP which is associated with the BCC instance.


MKT

public static final RelatedRenewFlagType MKT
Only renew the prepaid MKT which is associated with the BCC instance.


CDS_EIP

public static final RelatedRenewFlagType CDS_EIP
Only renew the prepaid CDS、EIP which are associated with the BCC instance.


CDS_MKT

public static final RelatedRenewFlagType CDS_MKT
Only renew the prepaid CDS、MKT which are associated with the BCC instance.


EIP_MKT

public static final RelatedRenewFlagType EIP_MKT
Only renew the prepaid EIP、MKT which are associated with the BCC instance.


CDS_EIP_MKT

public static final RelatedRenewFlagType CDS_EIP_MKT
Only renew the prepaid CDS、EIP、MKT which are associated with the BCC instance.

Method Detail

values

public static RelatedRenewFlagType[] 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 (RelatedRenewFlagType c : RelatedRenewFlagType.values())
    System.out.println(c);

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

valueOf

public static RelatedRenewFlagType 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

isExists

public static boolean isExists(RelatedRenewFlagType relatedRenewFlagType)


Copyright © 2020. All rights reserved.