Class ArbitrarySecretMetadataPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretMetadataPatch
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.ArbitrarySecretMetadataPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ArbitrarySecretMetadataPatch extends SecretMetadataPatch
ArbitrarySecretMetadataPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArbitrarySecretMetadataPatch.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 ArbitrarySecretMetadataPatch.ArbitrarySecretMetadataPatch.BuildernewBuilder()New builder.-
Methods inherited from class com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretMetadataPatch
customMetadata, description, expirationDate, labels, managedCsr, name, parameters, passwordGenerationPolicy, rotation, ttl
-
-
-
-
Method Detail
-
newBuilder
public ArbitrarySecretMetadataPatch.Builder newBuilder()
New builder.- Returns:
- a ArbitrarySecretMetadataPatch builder
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the ArbitrarySecretMetadataPatch. Note that properties of the ArbitrarySecretMetadataPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Overrides:
asPatchin classSecretMetadataPatch- Returns:
- a JSON merge-patch for the ArbitrarySecretMetadataPatch
-
-