com.aliyun.sdk.service.ecs20140526.models.CreateImagePipelineRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link CreateImagePipelineRequest} extends {@link RequestModel}
*
* CreateImagePipelineRequest
*/
public class CreateImagePipelineRequest extends Request {
@Host
@NameInMap("SourceRegionId")
private String sourceRegionId;
@Query
@NameInMap("AddAccount")
private java.util.List < Long > addAccount;
@Query
@NameInMap("BaseImage")
@Validation(required = true)
private String baseImage;
@Query
@NameInMap("BaseImageType")
@Validation(required = true)
private String baseImageType;
@Query
@NameInMap("BuildContent")
private String buildContent;
@Query
@NameInMap("ClientToken")
private String clientToken;
@Query
@NameInMap("DeleteInstanceOnFailure")
private Boolean deleteInstanceOnFailure;
@Query
@NameInMap("Description")
private String description;
@Query
@NameInMap("ImageName")
private String imageName;
@Query
@NameInMap("InstanceType")
private String instanceType;
@Query
@NameInMap("InternetMaxBandwidthOut")
private Integer internetMaxBandwidthOut;
@Query
@NameInMap("Name")
private String name;
@Query
@NameInMap("OwnerAccount")
private String ownerAccount;
@Query
@NameInMap("OwnerId")
private Long ownerId;
@Query
@NameInMap("RegionId")
@Validation(required = true)
private String regionId;
@Query
@NameInMap("ResourceGroupId")
private String resourceGroupId;
@Query
@NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@Query
@NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@Query
@NameInMap("SystemDiskSize")
private Integer systemDiskSize;
@Query
@NameInMap("Tag")
private java.util.List < Tag> tag;
@Query
@NameInMap("ToRegionId")
private java.util.List < String > toRegionId;
@Query
@NameInMap("VSwitchId")
private String vSwitchId;
private CreateImagePipelineRequest(Builder builder) {
super(builder);
this.sourceRegionId = builder.sourceRegionId;
this.addAccount = builder.addAccount;
this.baseImage = builder.baseImage;
this.baseImageType = builder.baseImageType;
this.buildContent = builder.buildContent;
this.clientToken = builder.clientToken;
this.deleteInstanceOnFailure = builder.deleteInstanceOnFailure;
this.description = builder.description;
this.imageName = builder.imageName;
this.instanceType = builder.instanceType;
this.internetMaxBandwidthOut = builder.internetMaxBandwidthOut;
this.name = builder.name;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.systemDiskSize = builder.systemDiskSize;
this.tag = builder.tag;
this.toRegionId = builder.toRegionId;
this.vSwitchId = builder.vSwitchId;
}
public static Builder builder() {
return new Builder();
}
public static CreateImagePipelineRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return sourceRegionId
*/
public String getSourceRegionId() {
return this.sourceRegionId;
}
/**
* @return addAccount
*/
public java.util.List < Long > getAddAccount() {
return this.addAccount;
}
/**
* @return baseImage
*/
public String getBaseImage() {
return this.baseImage;
}
/**
* @return baseImageType
*/
public String getBaseImageType() {
return this.baseImageType;
}
/**
* @return buildContent
*/
public String getBuildContent() {
return this.buildContent;
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return deleteInstanceOnFailure
*/
public Boolean getDeleteInstanceOnFailure() {
return this.deleteInstanceOnFailure;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return imageName
*/
public String getImageName() {
return this.imageName;
}
/**
* @return instanceType
*/
public String getInstanceType() {
return this.instanceType;
}
/**
* @return internetMaxBandwidthOut
*/
public Integer getInternetMaxBandwidthOut() {
return this.internetMaxBandwidthOut;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return systemDiskSize
*/
public Integer getSystemDiskSize() {
return this.systemDiskSize;
}
/**
* @return tag
*/
public java.util.List < Tag> getTag() {
return this.tag;
}
/**
* @return toRegionId
*/
public java.util.List < String > getToRegionId() {
return this.toRegionId;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
public static final class Builder extends Request.Builder {
private String sourceRegionId;
private java.util.List < Long > addAccount;
private String baseImage;
private String baseImageType;
private String buildContent;
private String clientToken;
private Boolean deleteInstanceOnFailure;
private String description;
private String imageName;
private String instanceType;
private Integer internetMaxBandwidthOut;
private String name;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceGroupId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Integer systemDiskSize;
private java.util.List < Tag> tag;
private java.util.List < String > toRegionId;
private String vSwitchId;
private Builder() {
super();
}
private Builder(CreateImagePipelineRequest request) {
super(request);
this.sourceRegionId = request.sourceRegionId;
this.addAccount = request.addAccount;
this.baseImage = request.baseImage;
this.baseImageType = request.baseImageType;
this.buildContent = request.buildContent;
this.clientToken = request.clientToken;
this.deleteInstanceOnFailure = request.deleteInstanceOnFailure;
this.description = request.description;
this.imageName = request.imageName;
this.instanceType = request.instanceType;
this.internetMaxBandwidthOut = request.internetMaxBandwidthOut;
this.name = request.name;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.systemDiskSize = request.systemDiskSize;
this.tag = request.tag;
this.toRegionId = request.toRegionId;
this.vSwitchId = request.vSwitchId;
}
/**
* SourceRegionId.
*/
public Builder sourceRegionId(String sourceRegionId) {
this.putHostParameter("SourceRegionId", sourceRegionId);
this.sourceRegionId = sourceRegionId;
return this;
}
/**
* AddAccount.
*/
public Builder addAccount(java.util.List < Long > addAccount) {
this.putQueryParameter("AddAccount", addAccount);
this.addAccount = addAccount;
return this;
}
/**
* BaseImage.
*/
public Builder baseImage(String baseImage) {
this.putQueryParameter("BaseImage", baseImage);
this.baseImage = baseImage;
return this;
}
/**
* BaseImageType.
*/
public Builder baseImageType(String baseImageType) {
this.putQueryParameter("BaseImageType", baseImageType);
this.baseImageType = baseImageType;
return this;
}
/**
* BuildContent.
*/
public Builder buildContent(String buildContent) {
this.putQueryParameter("BuildContent", buildContent);
this.buildContent = buildContent;
return this;
}
/**
* ClientToken.
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* DeleteInstanceOnFailure.
*/
public Builder deleteInstanceOnFailure(Boolean deleteInstanceOnFailure) {
this.putQueryParameter("DeleteInstanceOnFailure", deleteInstanceOnFailure);
this.deleteInstanceOnFailure = deleteInstanceOnFailure;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* ImageName.
*/
public Builder imageName(String imageName) {
this.putQueryParameter("ImageName", imageName);
this.imageName = imageName;
return this;
}
/**
* InstanceType.
*/
public Builder instanceType(String instanceType) {
this.putQueryParameter("InstanceType", instanceType);
this.instanceType = instanceType;
return this;
}
/**
* InternetMaxBandwidthOut.
*/
public Builder internetMaxBandwidthOut(Integer internetMaxBandwidthOut) {
this.putQueryParameter("InternetMaxBandwidthOut", internetMaxBandwidthOut);
this.internetMaxBandwidthOut = internetMaxBandwidthOut;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.putQueryParameter("Name", name);
this.name = name;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
/**
* SystemDiskSize.
*/
public Builder systemDiskSize(Integer systemDiskSize) {
this.putQueryParameter("SystemDiskSize", systemDiskSize);
this.systemDiskSize = systemDiskSize;
return this;
}
/**
* Tag.
*/
public Builder tag(java.util.List < Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
/**
* ToRegionId.
*/
public Builder toRegionId(java.util.List < String > toRegionId) {
this.putQueryParameter("ToRegionId", toRegionId);
this.toRegionId = toRegionId;
return this;
}
/**
* VSwitchId.
*/
public Builder vSwitchId(String vSwitchId) {
this.putQueryParameter("VSwitchId", vSwitchId);
this.vSwitchId = vSwitchId;
return this;
}
@Override
public CreateImagePipelineRequest build() {
return new CreateImagePipelineRequest(this);
}
}
public static class Tag extends TeaModel {
@NameInMap("Key")
private String key;
@NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
/**
* Key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy