@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public final class PurgeCache extends Object
The list of resources for cache purge. If a resources property is not provided, the purge targets all resources in a policy.
Note: Objects should always be created or deserialized using the PurgeCache.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the PurgeCache.Builder, which maintain a set of all explicitly set fields called __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
PurgeCache.Builder |
| Constructor and Description |
|---|
PurgeCache(List<String> resources)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static PurgeCache.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<String> |
getResources()
A resource to purge, identified by either a hostless absolute path starting with a single slash (e.g., "/path/to/resource") or by a relative path in which the first component will be interpreted as a domain protected by this policy (e.g., "example.com/path/to/resource").
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value="resources") @Deprecated public PurgeCache(List<String> resources)
public static PurgeCache.Builder builder()
Create a new builder.
public List<String> getResources()
A resource to purge, identified by either a hostless absolute path starting with a single slash (e.g., "/path/to/resource") or by a relative path in which the first component will be interpreted as a domain protected by this policy (e.g., "example.com/path/to/resource").
Copyright © 2016–2019. All rights reserved.