Class ImageRegistryConfigStorageS3
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.imageregistry.v1.ImageRegistryConfigStorageS3
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageS3Builder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageRegistryConfigStorageS3 extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageS3Builder>, io.fabric8.kubernetes.api.model.KubernetesResource
ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageRegistryConfigStorageS3()No args constructor for use in serializationImageRegistryConfigStorageS3(String bucket, Integer chunkSizeMiB, ImageRegistryConfigStorageS3CloudFront cloudFront, Boolean encrypt, String keyID, String region, String regionEndpoint, S3TrustedCASource trustedCA, Boolean virtualHostedStyle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageRegistryConfigStorageS3Builderedit()Map<String,Object>getAdditionalProperties()StringgetBucket()bucket is the bucket name in which you want to store the registry's data.IntegergetChunkSizeMiB()chunkSizeMiB defines the size of the multipart upload chunks of the S3 API.ImageRegistryConfigStorageS3CloudFrontgetCloudFront()ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/BooleangetEncrypt()encrypt specifies whether the registry stores the image in encrypted format or not.StringgetKeyID()keyID is the KMS key ID to use for encryption.StringgetRegion()region is the AWS region in which your bucket exists.StringgetRegionEndpoint()regionEndpoint is the endpoint for S3 compatible storage services.S3TrustedCASourcegetTrustedCA()ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/BooleangetVirtualHostedStyle()virtualHostedStyle enables using S3 virtual hosted style bucket paths with a custom RegionEndpoint Optional, defaults to false.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.voidsetChunkSizeMiB(Integer chunkSizeMiB)chunkSizeMiB defines the size of the multipart upload chunks of the S3 API.voidsetCloudFront(ImageRegistryConfigStorageS3CloudFront cloudFront)ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/voidsetEncrypt(Boolean encrypt)encrypt specifies whether the registry stores the image in encrypted format or not.voidsetKeyID(String keyID)keyID is the KMS key ID to use for encryption.voidsetRegion(String region)region is the AWS region in which your bucket exists.voidsetRegionEndpoint(String regionEndpoint)regionEndpoint is the endpoint for S3 compatible storage services.voidsetTrustedCA(S3TrustedCASource trustedCA)ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/voidsetVirtualHostedStyle(Boolean virtualHostedStyle)virtualHostedStyle enables using S3 virtual hosted style bucket paths with a custom RegionEndpoint Optional, defaults to false.ImageRegistryConfigStorageS3BuildertoBuilder()
-
-
-
Constructor Detail
-
ImageRegistryConfigStorageS3
public ImageRegistryConfigStorageS3()
No args constructor for use in serialization
-
ImageRegistryConfigStorageS3
public ImageRegistryConfigStorageS3(String bucket, Integer chunkSizeMiB, ImageRegistryConfigStorageS3CloudFront cloudFront, Boolean encrypt, String keyID, String region, String regionEndpoint, S3TrustedCASource trustedCA, Boolean virtualHostedStyle)
-
-
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.
-
getChunkSizeMiB
public Integer getChunkSizeMiB()
chunkSizeMiB defines the size of the multipart upload chunks of the S3 API. The S3 API requires multipart upload chunks to be at least 5MiB. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default value is 10 MiB. The value is an integer number of MiB. The minimum value is 5 and the maximum value is 5120 (5 GiB).
-
setChunkSizeMiB
public void setChunkSizeMiB(Integer chunkSizeMiB)
chunkSizeMiB defines the size of the multipart upload chunks of the S3 API. The S3 API requires multipart upload chunks to be at least 5MiB. When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. The current default value is 10 MiB. The value is an integer number of MiB. The minimum value is 5 and the maximum value is 5120 (5 GiB).
-
getCloudFront
public ImageRegistryConfigStorageS3CloudFront getCloudFront()
ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/
-
setCloudFront
public void setCloudFront(ImageRegistryConfigStorageS3CloudFront cloudFront)
ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/
-
getEncrypt
public Boolean getEncrypt()
encrypt specifies whether the registry stores the image in encrypted format or not. Optional, defaults to false.
-
setEncrypt
public void setEncrypt(Boolean encrypt)
encrypt specifies whether the registry stores the image in encrypted format or not. Optional, defaults to false.
-
getKeyID
public String getKeyID()
keyID is the KMS key ID to use for encryption. Optional, Encrypt must be true, or this parameter is ignored.
-
setKeyID
public void setKeyID(String keyID)
keyID is the KMS key ID to use for encryption. Optional, Encrypt must be true, or this parameter is ignored.
-
getRegion
public String getRegion()
region is the AWS region in which your bucket exists. Optional, will be set based on the installed AWS Region.
-
setRegion
public void setRegion(String region)
region is the AWS region in which your bucket exists. Optional, will be set based on the installed AWS Region.
-
getRegionEndpoint
public String getRegionEndpoint()
regionEndpoint is the endpoint for S3 compatible storage services. It should be a valid URL with scheme, e.g. https://s3.example.com. Optional, defaults based on the Region that is provided.
-
setRegionEndpoint
public void setRegionEndpoint(String regionEndpoint)
regionEndpoint is the endpoint for S3 compatible storage services. It should be a valid URL with scheme, e.g. https://s3.example.com. Optional, defaults based on the Region that is provided.
-
getTrustedCA
public S3TrustedCASource getTrustedCA()
ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/
-
setTrustedCA
public void setTrustedCA(S3TrustedCASource trustedCA)
ImageRegistryConfigStorageS3 holds the information to configure the registry to use the AWS S3 service for backend storage https://docs.docker.com/registry/storage-drivers/s3/
-
getVirtualHostedStyle
public Boolean getVirtualHostedStyle()
virtualHostedStyle enables using S3 virtual hosted style bucket paths with a custom RegionEndpoint Optional, defaults to false.
-
setVirtualHostedStyle
public void setVirtualHostedStyle(Boolean virtualHostedStyle)
virtualHostedStyle enables using S3 virtual hosted style bucket paths with a custom RegionEndpoint Optional, defaults to false.
-
edit
public ImageRegistryConfigStorageS3Builder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageRegistryConfigStorageS3Builder>
-
toBuilder
public ImageRegistryConfigStorageS3Builder toBuilder()
-
-