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> |
setDeleted(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> |
setDeprecated(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> |
setObsolete(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> |
setReplacement(T replacement)
Sets the identity of the suggested replacement for a deprecated resource.
|
DeprecationStatus.Builder<T> |
setStatus(DeprecationStatus.Status status)
Sets the status of the deprecated resource.
|
public DeprecationStatus.Builder<T> setDeleted(long deleted)
DeprecationStatus.Status.DELETED
. In milliseconds since epoch.public DeprecationStatus.Builder<T> setDeprecated(long deprecated)
DeprecationStatus.Status.DEPRECATED
. In milliseconds since epoch.public DeprecationStatus.Builder<T> setObsolete(long obsolete)
DeprecationStatus.Status.OBSOLETE
. In milliseconds since epoch.public DeprecationStatus.Builder<T> setReplacement(T replacement)
public DeprecationStatus.Builder<T> setStatus(DeprecationStatus.Status status)
public DeprecationStatus<T> build()
DeprecationStatus
object.Copyright © 2019 Google LLC. All rights reserved.