Class BulkActionResource.Builder
- java.lang.Object
- 
- com.oracle.bmc.identity.model.BulkActionResource.Builder
 
- 
- Enclosing class:
- BulkActionResource
 
 public static class BulkActionResource.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkActionResourcebuild()BulkActionResource.Buildercopy(BulkActionResource model)BulkActionResource.BuilderentityType(String entityType)The resource-type.BulkActionResource.Builderidentifier(String identifier)The resource OCID.BulkActionResource.Buildermetadata(Map<String,String> metadata)Additional information that helps to identity the resource for bulk action.
 
- 
- 
- 
Method Detail- 
identifierpublic BulkActionResource.Builder identifier(String identifier) The resource OCID.- Parameters:
- identifier- the value to set
- Returns:
- this builder
 
 - 
entityTypepublic BulkActionResource.Builder entityType(String entityType) The resource-type.To get the list of supported resource-types use listBulkActionResourceTypes.- Parameters:
- entityType- the value to set
- Returns:
- this builder
 
 - 
metadatapublic BulkActionResource.Builder metadata(Map<String,String> metadata) Additional information that helps to identity the resource for bulk action.The APIs to delete and move most resource types only require the resource identifier (ocid). But some resource-types require additional identifying information. This information is provided in the resource's public API document. It is also available through the listBulkActionResourceTypes.*Example**: The APIs to delete or move the buckets resource-type require namespaceName and bucketName to identify the resource, as shown in the APIs, deleteBucketandupdateBucket.To add a bucket for bulk actions, specify namespaceName and bucketName in the metadata property as shown in this example { "identifier": " " "entityType": "bucket", "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } } - Parameters:
- metadata- the value to set
- Returns:
- this builder
 
 - 
buildpublic BulkActionResource build() 
 - 
copypublic BulkActionResource.Builder copy(BulkActionResource model) 
 
- 
 
-