Class DeprecateOptions.Builder
- java.lang.Object
-
- org.jclouds.googlecomputeengine.options.DeprecateOptions.Builder
-
- Enclosing class:
- DeprecateOptions
public static class DeprecateOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeprecateOptions
build()
DeprecateOptions.Builder
deleted(Date deleted)
Optional RFC3339 timestamp for when the deprecation state was changed to DELETED.DeprecateOptions.Builder
deprecated(Date deprecated)
Optional RFC3339 timestamp for when the deprecation state was changed to DEPRECATED.DeprecateOptions.Builder
obsolete(Date obsolete)
Optional RFC3339 timestamp for when the deprecation state was changed to OBSOLETE.DeprecateOptions.Builder
replacement(URI replacement)
Optional URL for replacement of deprecated resource.DeprecateOptions.Builder
state(Deprecated.State state)
The new deprecation state.
-
-
-
Method Detail
-
state
public DeprecateOptions.Builder state(Deprecated.State state)
The new deprecation state.- Returns:
- the new deprecation state.
-
replacement
public DeprecateOptions.Builder replacement(URI replacement)
Optional URL for replacement of deprecated resource.- Returns:
- the URL
-
deprecated
public DeprecateOptions.Builder deprecated(Date deprecated)
Optional RFC3339 timestamp for when the deprecation state was changed to DEPRECATED.- Returns:
- the timestamp
-
obsolete
public DeprecateOptions.Builder obsolete(Date obsolete)
Optional RFC3339 timestamp for when the deprecation state was changed to OBSOLETE.- Returns:
- the timestamp
-
deleted
public DeprecateOptions.Builder deleted(Date deleted)
Optional RFC3339 timestamp for when the deprecation state was changed to DELETED.- Returns:
- the timestamp
-
build
public DeprecateOptions build()
-
-