public static final class AddPrivateRegistryResponseBody.Data.Builder extends Object
public AddPrivateRegistryResponseBody.Data.Builder aliUid(Long aliUid)
The ID of the user.
example:1766185894104***
public AddPrivateRegistryResponseBody.Data.Builder domainName(String domainName)
The domain name of the image repository.
example:example.com
public AddPrivateRegistryResponseBody.Data.Builder id(Long id)
The ID of the image repository.
example:273698***
public AddPrivateRegistryResponseBody.Data.Builder netType(Long netType)
The network type. Valid values:
2
public AddPrivateRegistryResponseBody.Data.Builder password(String password)
The password.
example:public AddPrivateRegistryResponseBody.Data.Builder protocolType(Long protocolType)
The type of the protocol. Valid values:
2
public AddPrivateRegistryResponseBody.Data.Builder regionId(String regionId)
The region ID of the image repository.
example:cn-hangzhou
public AddPrivateRegistryResponseBody.Data.Builder registryHostIp(String registryHostIp)
The IP address of the image repository.
example:114.55.**.**
public AddPrivateRegistryResponseBody.Data.Builder registryType(String registryType)
The type of the image repository. Valid values:
harbor
public AddPrivateRegistryResponseBody.Data.Builder registryVersion(String registryVersion)
The version of the image repository. Default value: -. Valid values:
V2
public AddPrivateRegistryResponseBody.Data.Builder token(String token)
The value of the token.
example:3c3c602c-fa1f-4bc0-992f-b4b2cac7****
public AddPrivateRegistryResponseBody.Data.Builder transPerHour(Integer transPerHour)
The number of scan tasks that are performed per hour.
example:10
public AddPrivateRegistryResponseBody.Data.Builder userName(String userName)
The username.
example:public AddPrivateRegistryResponseBody.Data.Builder vpcId(String vpcId)
The ID of the VPC.
example:vpc-2vchkxmf2j9yjt3x2****
public AddPrivateRegistryResponseBody.Data build()
Copyright © 2026. All rights reserved.