T - The Google Compute Engine resource identity to which the deprecation status referspublic static final class DeprecationStatus.Builder<T extends ResourceId> extends Object
DeprecationStatus objects.| Modifier and Type | Method and Description |
|---|---|
DeprecationStatus<T> |
build()
Creates a
DeprecationStatus object. |
DeprecationStatus.Builder<T> |
deleted(long deleted)
Sets the timestamp on or after which the deprecation state of this resource will be changed
to
DeprecationStatus.Status.DELETED. |
DeprecationStatus.Builder<T> |
deleted(String deleted)
Sets the timestamp on or after which the deprecation state of this resource will be changed
to
DeprecationStatus.Status.DELETED. |
DeprecationStatus.Builder<T> |
deprecated(long deprecated)
Sets the timestamp on or after which the deprecation state of this resource will be changed
to
DeprecationStatus.Status.DEPRECATED. |
DeprecationStatus.Builder<T> |
deprecated(String deprecated)
Sets the timestamp on or after which the deprecation state of this resource will be changed
to
DeprecationStatus.Status.DEPRECATED. |
DeprecationStatus.Builder<T> |
obsolete(long obsolete)
Sets the timestamp on or after which the deprecation state of this resource will be changed
to
DeprecationStatus.Status.OBSOLETE. |
DeprecationStatus.Builder<T> |
obsolete(String obsolete)
Sets the timestamp on or after which the deprecation state of this resource will be changed
to
DeprecationStatus.Status.OBSOLETE. |
DeprecationStatus.Builder<T> |
replacement(T replacement)
Sets the identity of the suggested replacement for a deprecated resource.
|
DeprecationStatus.Builder<T> |
status(DeprecationStatus.Status status)
Sets the status of the deprecated resource.
|
public DeprecationStatus.Builder<T> deleted(String deleted)
DeprecationStatus.Status.DELETED. Timestamp should be in RFC3339 format.public DeprecationStatus.Builder<T> deprecated(String deprecated)
DeprecationStatus.Status.DEPRECATED. Timestamp should be in RFC3339 format.public DeprecationStatus.Builder<T> obsolete(String obsolete)
DeprecationStatus.Status.OBSOLETE. Timestamp should be in RFC3339 format.public DeprecationStatus.Builder<T> deleted(long deleted)
DeprecationStatus.Status.DELETED. In milliseconds since epoch.public DeprecationStatus.Builder<T> deprecated(long deprecated)
DeprecationStatus.Status.DEPRECATED. In milliseconds since epoch.public DeprecationStatus.Builder<T> obsolete(long obsolete)
DeprecationStatus.Status.OBSOLETE. In milliseconds since epoch.public DeprecationStatus.Builder<T> replacement(T replacement)
public DeprecationStatus.Builder<T> status(DeprecationStatus.Status status)
public DeprecationStatus<T> build()
DeprecationStatus object.Copyright © 2016 Google. All rights reserved.