Package com.oracle.bmc.oda.model
Enum WorkRequestResource.ResourceAction
- java.lang.Object
- 
- java.lang.Enum<WorkRequestResource.ResourceAction>
- 
- com.oracle.bmc.oda.model.WorkRequestResource.ResourceAction
 
 
- 
- All Implemented Interfaces:
- BmcEnum,- Serializable,- Comparable<WorkRequestResource.ResourceAction>
 - Enclosing class:
- WorkRequestResource
 
 public static enum WorkRequestResource.ResourceAction extends Enum<WorkRequestResource.ResourceAction> implements BmcEnum The action to take against the resource.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ChangeCompartmentChangeCustEncKeyCreateCreateAssociationCreateImportedPackageCreateOdaInstanceAttachmentDeactCustEncKeyDeleteDeleteAssociationDeleteImportedPackageDeleteOdaInstanceAttachmentExportPurgeRecoverStartStopUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.UpdateUpdateEntitlementsForCacctUpdateImportedPackageUpdateOdaInstanceAttachment
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkRequestResource.ResourceActioncreate(String key)StringgetValue()static WorkRequestResource.ResourceActionvalueOf(String name)Returns the enum constant of this type with the specified name.static WorkRequestResource.ResourceAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
Createpublic static final WorkRequestResource.ResourceAction Create 
 - 
Updatepublic static final WorkRequestResource.ResourceAction Update 
 - 
Deletepublic static final WorkRequestResource.ResourceAction Delete 
 - 
Purgepublic static final WorkRequestResource.ResourceAction Purge 
 - 
Recoverpublic static final WorkRequestResource.ResourceAction Recover 
 - 
Stoppublic static final WorkRequestResource.ResourceAction Stop 
 - 
Startpublic static final WorkRequestResource.ResourceAction Start 
 - 
ChangeCompartmentpublic static final WorkRequestResource.ResourceAction ChangeCompartment 
 - 
ChangeCustEncKeypublic static final WorkRequestResource.ResourceAction ChangeCustEncKey 
 - 
DeactCustEncKeypublic static final WorkRequestResource.ResourceAction DeactCustEncKey 
 - 
CreateAssociationpublic static final WorkRequestResource.ResourceAction CreateAssociation 
 - 
DeleteAssociationpublic static final WorkRequestResource.ResourceAction DeleteAssociation 
 - 
UpdateEntitlementsForCacctpublic static final WorkRequestResource.ResourceAction UpdateEntitlementsForCacct 
 - 
CreateOdaInstanceAttachmentpublic static final WorkRequestResource.ResourceAction CreateOdaInstanceAttachment 
 - 
UpdateOdaInstanceAttachmentpublic static final WorkRequestResource.ResourceAction UpdateOdaInstanceAttachment 
 - 
DeleteOdaInstanceAttachmentpublic static final WorkRequestResource.ResourceAction DeleteOdaInstanceAttachment 
 - 
CreateImportedPackagepublic static final WorkRequestResource.ResourceAction CreateImportedPackage 
 - 
UpdateImportedPackagepublic static final WorkRequestResource.ResourceAction UpdateImportedPackage 
 - 
DeleteImportedPackagepublic static final WorkRequestResource.ResourceAction DeleteImportedPackage 
 - 
Exportpublic static final WorkRequestResource.ResourceAction Export 
 - 
UnknownEnumValuepublic static final WorkRequestResource.ResourceAction UnknownEnumValue This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 
- 
 - 
Method Detail- 
valuespublic static WorkRequestResource.ResourceAction[] 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 (WorkRequestResource.ResourceAction c : WorkRequestResource.ResourceAction.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static WorkRequestResource.ResourceAction 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
 
 - 
createpublic static WorkRequestResource.ResourceAction create(String key) 
 
- 
 
-