Class DeprecateOptions.Builder

java.lang.Object
org.jclouds.googlecomputeengine.options.DeprecateOptions.Builder
Enclosing class:
DeprecateOptions

public static class DeprecateOptions.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • 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()