Class CustomCredentialsSecretMetadataPatch
- 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.CustomCredentialsSecretMetadataPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CustomCredentialsSecretMetadataPatch extends SecretMetadataPatch
CustomCredentialsSecretMetadataPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomCredentialsSecretMetadataPatch.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 CustomCredentialsSecretMetadataPatch.CustomCredentialsSecretMetadataPatch.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 CustomCredentialsSecretMetadataPatch.Builder newBuilder()
New builder.- Returns:
- a CustomCredentialsSecretMetadataPatch builder
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the CustomCredentialsSecretMetadataPatch. Note that properties of the CustomCredentialsSecretMetadataPatch 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 CustomCredentialsSecretMetadataPatch
-
-