Class SecretVersionMetadataPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretVersionMetadataPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecretVersionMetadataPatch extends com.ibm.cloud.sdk.core.service.model.GenericModelUpdate your secret version metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecretVersionMetadataPatch.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asPatch()Construct a JSON merge-patch from the SecretVersionMetadataPatch.SecretVersionMetadataPatch.BuildernewBuilder()New builder.Map<String,Object>versionCustomMetadata()Gets the versionCustomMetadata.
-
-
-
Method Detail
-
newBuilder
public SecretVersionMetadataPatch.Builder newBuilder()
New builder.- Returns:
- a SecretVersionMetadataPatch builder
-
versionCustomMetadata
public Map<String,Object> versionCustomMetadata()
Gets the versionCustomMetadata. The secret version metadata that a user can customize.- Returns:
- the versionCustomMetadata
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the SecretVersionMetadataPatch. Note that properties of the SecretVersionMetadataPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the SecretVersionMetadataPatch
-
-