Package com.oracle.bmc.artifacts.model
Class ContainerImageSignatureSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.artifacts.model.ContainerImageSignatureSummary.Builder
-
- Enclosing class:
- ContainerImageSignatureSummary
public static class ContainerImageSignatureSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.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
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.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
lifecycleState(ContainerImageSignature.LifecycleState lifecycleState)
The current state of the container image signature.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
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags for this resource.ContainerImageSignatureSummary.Builder
timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the image was created.
-
-
-
Method Detail
-
compartmentId
public ContainerImageSignatureSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the container repository exists.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public 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
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
id
public ContainerImageSignatureSummary.Builder id(String id)
The OCID of the container image signature.Example: ocid1.containerimagesignature.oc1..exampleuniqueID
- Parameters:
id
- the value to set- Returns:
- this builder
-
imageId
public ContainerImageSignatureSummary.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 ContainerImageSignatureSummary.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 ContainerImageSignatureSummary.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 ContainerImageSignatureSummary.Builder message(String message)
The base64 encoded signature payload that was signed.- Parameters:
message
- the value to set- Returns:
- this builder
-
signature
public ContainerImageSignatureSummary.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 ContainerImageSignatureSummary.Builder signingAlgorithm(ContainerImageSignatureSummary.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
-
timeCreated
public ContainerImageSignatureSummary.Builder timeCreated(Date timeCreated)
An RFC 3339 timestamp indicating when the image was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public ContainerImageSignatureSummary.Builder lifecycleState(ContainerImageSignature.LifecycleState lifecycleState)
The current state of the container image signature.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public ContainerImageSignatureSummary.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 ContainerImageSignatureSummary.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
-
systemTags
public ContainerImageSignatureSummary.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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ContainerImageSignatureSummary build()
-
copy
public ContainerImageSignatureSummary.Builder copy(ContainerImageSignatureSummary model)
-
-