public static class CreateContainerImageSignatureDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateContainerImageSignatureDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.
compartmentId
- the value to setpublic CreateContainerImageSignatureDetails.Builder imageId(String imageId)
The OCID of the container image.
Example: ocid1.containerimage.oc1..exampleuniqueID
imageId
- the value to setpublic CreateContainerImageSignatureDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the kmsKeyId used to sign the container image.
Example: ocid1.key.oc1..exampleuniqueID
kmsKeyId
- the value to setpublic CreateContainerImageSignatureDetails.Builder kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the kmsKeyVersionId used to sign the container image.
Example: ocid1.keyversion.oc1..exampleuniqueID
kmsKeyVersionId
- the value to setpublic CreateContainerImageSignatureDetails.Builder message(String message)
The base64 encoded signature payload that was signed.
message
- the value to setpublic CreateContainerImageSignatureDetails.Builder signature(String signature)
The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
signature
- the value to setpublic CreateContainerImageSignatureDetails.Builder signingAlgorithm(CreateContainerImageSignatureDetails.SigningAlgorithm signingAlgorithm)
The algorithm to be used for signing. These are the only supported signing algorithms for container images.
signingAlgorithm
- the value to setpublic CreateContainerImageSignatureDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic CreateContainerImageSignatureDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CreateContainerImageSignatureDetails build()
public CreateContainerImageSignatureDetails.Builder copy(CreateContainerImageSignatureDetails model)
Copyright © 2016–2024. All rights reserved.