public static class ContainerImageSignature.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContainerImageSignature |
build() |
ContainerImageSignature.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment in which the container repository exists.
|
ContainerImageSignature.Builder |
copy(ContainerImageSignature model) |
ContainerImageSignature.Builder |
createdBy(String createdBy)
The id of the user or principal that created the resource.
|
ContainerImageSignature.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ContainerImageSignature.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.
|
ContainerImageSignature.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ContainerImageSignature.Builder |
id(String id)
The OCID of the
container image signature.
|
ContainerImageSignature.Builder |
imageId(String imageId)
The OCID of the
container image.
|
ContainerImageSignature.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the
kmsKeyId used to sign the container image.
|
ContainerImageSignature.Builder |
kmsKeyVersionId(String kmsKeyVersionId)
The OCID of the
kmsKeyVersionId used to sign the container image.
|
ContainerImageSignature.Builder |
lifecycleState(ContainerImageSignature.LifecycleState lifecycleState)
The current state of the container image signature.
|
ContainerImageSignature.Builder |
message(String message)
The base64 encoded signature payload that was signed.
|
ContainerImageSignature.Builder |
signature(String signature)
The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the
signingAlgorithm.
|
ContainerImageSignature.Builder |
signingAlgorithm(ContainerImageSignature.SigningAlgorithm signingAlgorithm)
The algorithm to be used for signing.
|
ContainerImageSignature.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags for this resource.
|
ContainerImageSignature.Builder |
timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the image was created.
|
public ContainerImageSignature.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.
compartmentId
- the value to setpublic ContainerImageSignature.Builder createdBy(String createdBy)
The id of the user or principal that created the resource.
createdBy
- the value to setpublic ContainerImageSignature.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 ContainerImageSignature.Builder id(String id)
The OCID of the container image signature.
Example: ocid1.containerimagesignature.oc1..exampleuniqueID
id
- the value to setpublic ContainerImageSignature.Builder imageId(String imageId)
The OCID of the container image.
Example: ocid1.containerimage.oc1..exampleuniqueID
imageId
- the value to setpublic ContainerImageSignature.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 ContainerImageSignature.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 ContainerImageSignature.Builder message(String message)
The base64 encoded signature payload that was signed.
message
- the value to setpublic ContainerImageSignature.Builder signature(String signature)
The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
signature
- the value to setpublic ContainerImageSignature.Builder signingAlgorithm(ContainerImageSignature.SigningAlgorithm signingAlgorithm)
The algorithm to be used for signing. These are the only supported signing algorithms for container images.
signingAlgorithm
- the value to setpublic ContainerImageSignature.Builder timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the image was created.
timeCreated
- the value to setpublic ContainerImageSignature.Builder lifecycleState(ContainerImageSignature.LifecycleState lifecycleState)
The current state of the container image signature.
lifecycleState
- the value to setpublic ContainerImageSignature.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 ContainerImageSignature.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 ContainerImageSignature.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ContainerImageSignature build()
public ContainerImageSignature.Builder copy(ContainerImageSignature model)
Copyright © 2016–2024. All rights reserved.