@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class BulkActionResource extends Object
The bulk action resource entity.
Note: Objects should always be created or deserialized using the BulkActionResource.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 BulkActionResource.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 |
BulkActionResource.Builder |
| Constructor and Description |
|---|
BulkActionResource(String identifier,
String entityType,
Map<String,String> metadata)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static BulkActionResource.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getEntityType()
The resource type.
|
String |
getIdentifier()
The resource identifier.
|
Map<String,String> |
getMetadata()
Additional information that helps to identity the resource for bulk action.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"identifier","entityType","metadata"}) @Deprecated public BulkActionResource(String identifier, String entityType, Map<String,String> metadata)
public static BulkActionResource.Builder builder()
Create a new builder.
public String getIdentifier()
The resource identifier.
public String getEntityType()
The resource type.
public Map<String,String> getMetadata()
Additional information that helps to identity the resource for bulk action.
DELETE and UPDATE APIs for most resource types only require the resource identifier(ocid). But additional metadata is required for some resource types.
This information is provided in the resource’s public API document. It is also available through the ListBulkActionResourceTypes API.
Copyright © 2016–2020. All rights reserved.