Package com.oracle.bmc.artifacts.model
Class CreateContainerImageSignatureDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.artifacts.model.CreateContainerImageSignatureDetails.Builder
-
- Enclosing class:
- CreateContainerImageSignatureDetails
public static class CreateContainerImageSignatureDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreateContainerImageSignatureDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
imageId
public CreateContainerImageSignatureDetails.Builder imageId(String imageId)
The OCID of the container image.Example: ocid1.containerimage.oc1..exampleuniqueID
- Parameters:
imageId
- the value to set- Returns:
- this builder
-
kmsKeyId
public CreateContainerImageSignatureDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the kmsKeyId used to sign the container image.Example: ocid1.key.oc1..exampleuniqueID
- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
kmsKeyVersionId
public CreateContainerImageSignatureDetails.Builder kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the kmsKeyVersionId used to sign the container image.Example: ocid1.keyversion.oc1..exampleuniqueID
- Parameters:
kmsKeyVersionId
- the value to set- Returns:
- this builder
-
message
public CreateContainerImageSignatureDetails.Builder message(String message)
The base64 encoded signature payload that was signed.- Parameters:
message
- the value to set- Returns:
- this builder
-
signature
public CreateContainerImageSignatureDetails.Builder signature(String signature)
The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.- Parameters:
signature
- the value to set- Returns:
- this builder
-
signingAlgorithm
public CreateContainerImageSignatureDetails.Builder signingAlgorithm(CreateContainerImageSignatureDetails.SigningAlgorithm signingAlgorithm)
The algorithm to be used for signing.These are the only supported signing algorithms for container images.
- Parameters:
signingAlgorithm
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateContainerImageSignatureDetails build()
-
copy
public CreateContainerImageSignatureDetails.Builder copy(CreateContainerImageSignatureDetails model)
-
-