Class UpdateImageCacheRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.UpdateImageCacheRequest
-
public class UpdateImageCacheRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UpdateImageCacheRequest()UpdateImageCacheRequest(UpdateImageCacheRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetImageCacheId()Get 镜像缓存IdStringgetImageCacheName()Get 镜像缓存名称LonggetImageCacheSize()Get 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。ImageRegistryCredential[]getImageRegistryCredentials()Get 镜像仓库凭证数组String[]getImages()Get 用于制作镜像缓存的容器镜像列表LonggetRetentionDays()Get 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。String[]getSecurityGroupIds()Get 安全组IdvoidsetImageCacheId(String ImageCacheId)Set 镜像缓存IdvoidsetImageCacheName(String ImageCacheName)Set 镜像缓存名称voidsetImageCacheSize(Long ImageCacheSize)Set 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。voidsetImageRegistryCredentials(ImageRegistryCredential[] ImageRegistryCredentials)Set 镜像仓库凭证数组voidsetImages(String[] Images)Set 用于制作镜像缓存的容器镜像列表voidsetRetentionDays(Long RetentionDays)Set 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。voidsetSecurityGroupIds(String[] SecurityGroupIds)Set 安全组IdvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
UpdateImageCacheRequest
public UpdateImageCacheRequest()
-
UpdateImageCacheRequest
public UpdateImageCacheRequest(UpdateImageCacheRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getImageCacheId
public String getImageCacheId()
Get 镜像缓存Id- Returns:
- ImageCacheId 镜像缓存Id
-
setImageCacheId
public void setImageCacheId(String ImageCacheId)
Set 镜像缓存Id- Parameters:
ImageCacheId- 镜像缓存Id
-
getImageCacheName
public String getImageCacheName()
Get 镜像缓存名称- Returns:
- ImageCacheName 镜像缓存名称
-
setImageCacheName
public void setImageCacheName(String ImageCacheName)
Set 镜像缓存名称- Parameters:
ImageCacheName- 镜像缓存名称
-
getImageRegistryCredentials
public ImageRegistryCredential[] getImageRegistryCredentials()
Get 镜像仓库凭证数组- Returns:
- ImageRegistryCredentials 镜像仓库凭证数组
-
setImageRegistryCredentials
public void setImageRegistryCredentials(ImageRegistryCredential[] ImageRegistryCredentials)
Set 镜像仓库凭证数组- Parameters:
ImageRegistryCredentials- 镜像仓库凭证数组
-
getImages
public String[] getImages()
Get 用于制作镜像缓存的容器镜像列表- Returns:
- Images 用于制作镜像缓存的容器镜像列表
-
setImages
public void setImages(String[] Images)
Set 用于制作镜像缓存的容器镜像列表- Parameters:
Images- 用于制作镜像缓存的容器镜像列表
-
getImageCacheSize
public Long getImageCacheSize()
Get 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。- Returns:
- ImageCacheSize 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。
-
setImageCacheSize
public void setImageCacheSize(Long ImageCacheSize)
Set 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。- Parameters:
ImageCacheSize- 镜像缓存的大小。默认为20 GiB。取值范围参考[云硬盘类型](https://cloud.tencent.com/document/product/362/2353)中的高性能云盘类型的大小限制。
-
getRetentionDays
public Long getRetentionDays()
Get 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。- Returns:
- RetentionDays 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
-
setRetentionDays
public void setRetentionDays(Long RetentionDays)
Set 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。- Parameters:
RetentionDays- 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
-
getSecurityGroupIds
public String[] getSecurityGroupIds()
Get 安全组Id- Returns:
- SecurityGroupIds 安全组Id
-
setSecurityGroupIds
public void setSecurityGroupIds(String[] SecurityGroupIds)
Set 安全组Id- Parameters:
SecurityGroupIds- 安全组Id
-
-