public static enum HeadObjectResponse.ArchivalState extends Enum<HeadObjectResponse.ArchivalState>
The current state of the object.
| Enum Constant and Description |
|---|
Archived |
Available |
Restored |
Restoring |
| Modifier and Type | Method and Description |
|---|---|
static HeadObjectResponse.ArchivalState |
create(String key) |
String |
getValue() |
static HeadObjectResponse.ArchivalState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeadObjectResponse.ArchivalState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeadObjectResponse.ArchivalState Available
public static final HeadObjectResponse.ArchivalState Archived
public static final HeadObjectResponse.ArchivalState Restoring
public static final HeadObjectResponse.ArchivalState Restored
public static HeadObjectResponse.ArchivalState[] values()
for (HeadObjectResponse.ArchivalState c : HeadObjectResponse.ArchivalState.values()) System.out.println(c);
public static HeadObjectResponse.ArchivalState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public static HeadObjectResponse.ArchivalState create(String key)
Copyright © 2016–2021. All rights reserved.