org.jclouds.googlecomputeengine.domain
Class Deprecated
java.lang.Object
org.jclouds.googlecomputeengine.domain.Deprecated
public class Deprecated
- extends Object
Deprecation information for an image or kernel
Deprecated
@ConstructorProperties(value={"state","replacement","deprecated","obsolete","deleted"})
public Deprecated(String state,
URI replacement,
String deprecated,
String obsolete,
String deleted)
getState
public com.google.common.base.Optional<String> getState()
- Returns:
- The deprecation state of this image.
getReplacement
public com.google.common.base.Optional<URI> getReplacement()
- Returns:
- A fully-qualified URL of the suggested replacement for the deprecated image.
getDeprecated
public com.google.common.base.Optional<String> getDeprecated()
- Returns:
- An optional RFC3339 timestamp for when the deprecation state of this resource will be changed to DEPRECATED.
getObsolete
public com.google.common.base.Optional<String> getObsolete()
- Returns:
- An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed toOBSOLETE.
getDeleted
public com.google.common.base.Optional<String> getDeleted()
- Returns:
- An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to DELETED.
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
-
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
-
toString
public String toString()
-
- Overrides:
toString in class Object
builder
public static Deprecated.Builder builder()
toBuilder
public Deprecated.Builder toBuilder()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.