|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.googlecomputeengine.options.DeprecateOptions
public class DeprecateOptions
Options to set the deprecation status of a resource. Currently only for images.
| Nested Class Summary | |
|---|---|
static class |
DeprecateOptions.State
|
| Constructor Summary | |
|---|---|
DeprecateOptions()
|
|
| Method Summary | |
|---|---|
DeprecateOptions |
deleted(Date deleted)
|
DeprecateOptions |
deprecated(Date deprecated)
|
Date |
getDeleted()
Optional RFC3339 timestamp for when the deprecation state was changed to DELETED. |
Date |
getDeprecated()
Optional RFC3339 timestamp for when the deprecation state was changed to DEPRECATED. |
Date |
getObsolete()
Optional RFC3339 timestamp for when the deprecation state was changed to OBSOLETE. |
URI |
getReplacement()
Optional URL for replacement of deprecated resource. |
DeprecateOptions.State |
getState()
The new deprecation state. |
DeprecateOptions |
obsolete(Date obsolete)
|
DeprecateOptions |
replacement(URI replacement)
|
DeprecateOptions |
state(DeprecateOptions.State state)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeprecateOptions()
| Method Detail |
|---|
public DeprecateOptions.State getState()
public URI getReplacement()
public Date getDeprecated()
public Date getObsolete()
public Date getDeleted()
public DeprecateOptions state(DeprecateOptions.State state)
getState()public DeprecateOptions replacement(URI replacement)
getReplacement()public DeprecateOptions deprecated(Date deprecated)
getDeprecated()public DeprecateOptions obsolete(Date obsolete)
getObsolete()public DeprecateOptions deleted(Date deleted)
getDeleted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||