public static class DeprecateOptions.Builder extends Object
Constructor and Description |
---|
DeprecateOptions.Builder() |
Modifier and Type | Method and 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.
|
public DeprecateOptions.Builder state(Deprecated.State state)
public DeprecateOptions.Builder replacement(URI replacement)
public DeprecateOptions.Builder deprecated(Date deprecated)
public DeprecateOptions.Builder obsolete(Date obsolete)
public DeprecateOptions.Builder deleted(Date deleted)
public DeprecateOptions build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.