Class ImageRegistryConfigStorageIBMCOS

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageIBMCOSBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ImageRegistryConfigStorageIBMCOS
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageIBMCOSBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ImageRegistryConfigStorageIBMCOS holds the information to configure the registry to use IBM Cloud Object Storage for backend storage.
    See Also:
    Serialized Form
    • Constructor Detail

      • ImageRegistryConfigStorageIBMCOS

        public ImageRegistryConfigStorageIBMCOS()
        No args constructor for use in serialization
      • ImageRegistryConfigStorageIBMCOS

        public ImageRegistryConfigStorageIBMCOS​(String bucket,
                                                String location,
                                                String resourceGroupName,
                                                String resourceKeyCRN,
                                                String serviceInstanceCRN)
    • Method Detail

      • getBucket

        public String getBucket()
        bucket is the bucket name in which you want to store the registry's data. Optional, will be generated if not provided.
      • setBucket

        public void setBucket​(String bucket)
        bucket is the bucket name in which you want to store the registry's data. Optional, will be generated if not provided.
      • getLocation

        public String getLocation()
        location is the IBM Cloud location in which your bucket exists. Optional, will be set based on the installed IBM Cloud location.
      • setLocation

        public void setLocation​(String location)
        location is the IBM Cloud location in which your bucket exists. Optional, will be set based on the installed IBM Cloud location.
      • getResourceGroupName

        public String getResourceGroupName()
        resourceGroupName is the name of the IBM Cloud resource group that this bucket and its service instance is associated with. Optional, will be set based on the installed IBM Cloud resource group.
      • setResourceGroupName

        public void setResourceGroupName​(String resourceGroupName)
        resourceGroupName is the name of the IBM Cloud resource group that this bucket and its service instance is associated with. Optional, will be set based on the installed IBM Cloud resource group.
      • getResourceKeyCRN

        public String getResourceKeyCRN()
        resourceKeyCRN is the CRN of the IBM Cloud resource key that is created for the service instance. Commonly referred as a service credential and must contain HMAC type credentials. Optional, will be computed if not provided.
      • setResourceKeyCRN

        public void setResourceKeyCRN​(String resourceKeyCRN)
        resourceKeyCRN is the CRN of the IBM Cloud resource key that is created for the service instance. Commonly referred as a service credential and must contain HMAC type credentials. Optional, will be computed if not provided.
      • getServiceInstanceCRN

        public String getServiceInstanceCRN()
        serviceInstanceCRN is the CRN of the IBM Cloud Object Storage service instance that this bucket is associated with. Optional, will be computed if not provided.
      • setServiceInstanceCRN

        public void setServiceInstanceCRN​(String serviceInstanceCRN)
        serviceInstanceCRN is the CRN of the IBM Cloud Object Storage service instance that this bucket is associated with. Optional, will be computed if not provided.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)