Class ImageRegistryConfigStorageGCS
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.imageregistry.v1.ImageRegistryConfigStorageGCS
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageGCSBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageRegistryConfigStorageGCS extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageGCSBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ImageRegistryConfigStorageGCS holds GCS configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageRegistryConfigStorageGCS()No args constructor for use in serializationImageRegistryConfigStorageGCS(String bucket, String keyID, String projectID, String region)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageRegistryConfigStorageGCSBuilderedit()Map<String,Object>getAdditionalProperties()StringgetBucket()bucket is the bucket name in which you want to store the registry's data.StringgetKeyID()keyID is the KMS key ID to use for encryption.StringgetProjectID()projectID is the Project ID of the GCP project that this bucket should be associated with.StringgetRegion()region is the GCS location in which your bucket exists.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.voidsetKeyID(String keyID)keyID is the KMS key ID to use for encryption.voidsetProjectID(String projectID)projectID is the Project ID of the GCP project that this bucket should be associated with.voidsetRegion(String region)region is the GCS location in which your bucket exists.ImageRegistryConfigStorageGCSBuildertoBuilder()
-
-
-
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.
-
getKeyID
public String getKeyID()
keyID is the KMS key ID to use for encryption. Optional, buckets are encrypted by default on GCP. This allows for the use of a custom encryption key.
-
setKeyID
public void setKeyID(String keyID)
keyID is the KMS key ID to use for encryption. Optional, buckets are encrypted by default on GCP. This allows for the use of a custom encryption key.
-
getProjectID
public String getProjectID()
projectID is the Project ID of the GCP project that this bucket should be associated with.
-
setProjectID
public void setProjectID(String projectID)
projectID is the Project ID of the GCP project that this bucket should be associated with.
-
getRegion
public String getRegion()
region is the GCS location in which your bucket exists. Optional, will be set based on the installed GCS Region.
-
setRegion
public void setRegion(String region)
region is the GCS location in which your bucket exists. Optional, will be set based on the installed GCS Region.
-
edit
public ImageRegistryConfigStorageGCSBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageGCSBuilder>
-
toBuilder
public ImageRegistryConfigStorageGCSBuilder toBuilder()
-
-