Class ImageRegistryConfigStorageIBMCOS
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.imageregistry.v1.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 Summary
Constructors Constructor Description ImageRegistryConfigStorageIBMCOS()No args constructor for use in serializationImageRegistryConfigStorageIBMCOS(String bucket, String location, String resourceGroupName, String resourceKeyCRN, String serviceInstanceCRN)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageRegistryConfigStorageIBMCOSBuilderedit()Map<String,Object>getAdditionalProperties()StringgetBucket()bucket is the bucket name in which you want to store the registry's data.StringgetLocation()location is the IBM Cloud location in which your bucket exists.StringgetResourceGroupName()resourceGroupName is the name of the IBM Cloud resource group that this bucket and its service instance is associated with.StringgetResourceKeyCRN()resourceKeyCRN is the CRN of the IBM Cloud resource key that is created for the service instance.StringgetServiceInstanceCRN()serviceInstanceCRN is the CRN of the IBM Cloud Object Storage service instance that this bucket is associated with.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBucket(String bucket)bucket is the bucket name in which you want to store the registry's data.voidsetLocation(String location)location is the IBM Cloud location in which your bucket exists.voidsetResourceGroupName(String resourceGroupName)resourceGroupName is the name of the IBM Cloud resource group that this bucket and its service instance is associated with.voidsetResourceKeyCRN(String resourceKeyCRN)resourceKeyCRN is the CRN of the IBM Cloud resource key that is created for the service instance.voidsetServiceInstanceCRN(String serviceInstanceCRN)serviceInstanceCRN is the CRN of the IBM Cloud Object Storage service instance that this bucket is associated with.ImageRegistryConfigStorageIBMCOSBuildertoBuilder()
-
-
-
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.
-
edit
public ImageRegistryConfigStorageIBMCOSBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageIBMCOSBuilder>
-
toBuilder
public ImageRegistryConfigStorageIBMCOSBuilder toBuilder()
-
-