public static class ContainerImageSignatureSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContainerImageSignatureSummary |
build() |
ContainerImageSignatureSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.
|
ContainerImageSignatureSummary.Builder |
copy(ContainerImageSignatureSummary model) |
ContainerImageSignatureSummary.Builder |
displayName(String displayName)
The last 10 characters of the kmsKeyId, the last 10 characters of the kmsKeyVersionId,
the signingAlgorithm, and the last 10 characters of the signatureId.
|
ContainerImageSignatureSummary.Builder |
id(String id)
The OCID of the
container image signature.
|
ContainerImageSignatureSummary.Builder |
imageId(String imageId)
The OCID of the
container image.
|
ContainerImageSignatureSummary.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the
kmsKeyId used to sign the container image.
|
ContainerImageSignatureSummary.Builder |
kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the
kmsKeyVersionId used to sign the container image.
|
ContainerImageSignatureSummary.Builder |
message(String message)
The base64 encoded signature payload that was signed.
|
ContainerImageSignatureSummary.Builder |
signature(String signature)
The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the
signingAlgorithm.
|
ContainerImageSignatureSummary.Builder |
signingAlgorithm(ContainerImageSignatureSummary.SigningAlgorithm signingAlgorithm)
The algorithm to be used for signing.
|
ContainerImageSignatureSummary.Builder |
timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the image was created.
|
public ContainerImageSignatureSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.
compartmentId
- the value to setpublic ContainerImageSignatureSummary.Builder displayName(String displayName)
The last 10 characters of the kmsKeyId, the last 10 characters of the kmsKeyVersionId, the signingAlgorithm, and the last 10 characters of the signatureId.
Example: wrmz22sixa::qdwyc2ptun::SHA_256_RSA_PKCS_PSS::2vwmobasva
displayName
- the value to setpublic ContainerImageSignatureSummary.Builder id(String id)
The OCID of the container image signature.
Example: ocid1.containerimagesignature.oc1..exampleuniqueID
id
- the value to setpublic ContainerImageSignatureSummary.Builder imageId(String imageId)
The OCID of the container image.
Example: ocid1.containerimage.oc1..exampleuniqueID
imageId
- the value to setpublic ContainerImageSignatureSummary.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 ContainerImageSignatureSummary.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 ContainerImageSignatureSummary.Builder message(String message)
The base64 encoded signature payload that was signed.
message
- the value to setpublic ContainerImageSignatureSummary.Builder signature(String signature)
The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
signature
- the value to setpublic ContainerImageSignatureSummary.Builder signingAlgorithm(ContainerImageSignatureSummary.SigningAlgorithm signingAlgorithm)
The algorithm to be used for signing. These are the only supported signing algorithms for container images.
signingAlgorithm
- the value to setpublic ContainerImageSignatureSummary.Builder timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the image was created.
timeCreated
- the value to setpublic ContainerImageSignatureSummary build()
public ContainerImageSignatureSummary.Builder copy(ContainerImageSignatureSummary model)
Copyright © 2016–2023. All rights reserved.