All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ecs20140526.models.DisableActivationResponseBody Maven / Gradle / Ivy

There is a newer version: 5.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DisableActivationResponseBody} extends {@link TeaModel}
 *
 * 

DisableActivationResponseBody

*/ public class DisableActivationResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Activation") private Activation activation; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DisableActivationResponseBody(Builder builder) { this.activation = builder.activation; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DisableActivationResponseBody create() { return builder().build(); } /** * @return activation */ public Activation getActivation() { return this.activation; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Activation activation; private String requestId; /** *

The time when the activation code was created.

*/ public Builder activation(Activation activation) { this.activation = activation; return this; } /** *

Details about the activation code and its usage information.

* * example: *

4ECEEE12-56F1-4FBC-9AB1-890F74942176

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DisableActivationResponseBody build() { return new DisableActivationResponseBody(this); } } /** * * {@link DisableActivationResponseBody} extends {@link TeaModel} * *

DisableActivationResponseBody

*/ public static class Activation extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActivationId") private String activationId; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("DeregisteredCount") private Integer deregisteredCount; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Disabled") private Boolean disabled; @com.aliyun.core.annotation.NameInMap("InstanceCount") private Integer instanceCount; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("IpAddressRange") private String ipAddressRange; @com.aliyun.core.annotation.NameInMap("RegisteredCount") private Integer registeredCount; @com.aliyun.core.annotation.NameInMap("TimeToLiveInHours") private Long timeToLiveInHours; private Activation(Builder builder) { this.activationId = builder.activationId; this.creationTime = builder.creationTime; this.deregisteredCount = builder.deregisteredCount; this.description = builder.description; this.disabled = builder.disabled; this.instanceCount = builder.instanceCount; this.instanceName = builder.instanceName; this.ipAddressRange = builder.ipAddressRange; this.registeredCount = builder.registeredCount; this.timeToLiveInHours = builder.timeToLiveInHours; } public static Builder builder() { return new Builder(); } public static Activation create() { return builder().build(); } /** * @return activationId */ public String getActivationId() { return this.activationId; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return deregisteredCount */ public Integer getDeregisteredCount() { return this.deregisteredCount; } /** * @return description */ public String getDescription() { return this.description; } /** * @return disabled */ public Boolean getDisabled() { return this.disabled; } /** * @return instanceCount */ public Integer getInstanceCount() { return this.instanceCount; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return ipAddressRange */ public String getIpAddressRange() { return this.ipAddressRange; } /** * @return registeredCount */ public Integer getRegisteredCount() { return this.registeredCount; } /** * @return timeToLiveInHours */ public Long getTimeToLiveInHours() { return this.timeToLiveInHours; } public static final class Builder { private String activationId; private String creationTime; private Integer deregisteredCount; private String description; private Boolean disabled; private Integer instanceCount; private String instanceName; private String ipAddressRange; private Integer registeredCount; private Long timeToLiveInHours; /** * ActivationId. */ public Builder activationId(String activationId) { this.activationId = activationId; return this; } /** *

The number of instances that were deregistered.

* * example: *

2021-01-20T06:00:00Z

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** *

The maximum number of times that the activation code can be used to register managed instances.

* * example: *

1

*/ public Builder deregisteredCount(Integer deregisteredCount) { this.deregisteredCount = deregisteredCount; return this; } /** *

The number of registered instances.

* * example: *

This is description.

*/ public Builder description(String description) { this.description = description; return this; } /** *

The IP addresses of the hosts that can use the activation code.

* * example: *

false

*/ public Builder disabled(Boolean disabled) { this.disabled = disabled; return this; } /** *

The description of the activation code.

* * example: *

1

*/ public Builder instanceCount(Integer instanceCount) { this.instanceCount = instanceCount; return this; } /** *

Indicates whether the activation code is disabled.

* * example: *

test-InstanceName

*/ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** *

The validity period of the activation code. Unit: hours.

* * example: *

0.0.0.0/0

*/ public Builder ipAddressRange(String ipAddressRange) { this.ipAddressRange = ipAddressRange; return this; } /** *

The default prefix of the instance name.

* * example: *

1

*/ public Builder registeredCount(Integer registeredCount) { this.registeredCount = registeredCount; return this; } /** *

The activation code ID.

* * example: *

4

*/ public Builder timeToLiveInHours(Long timeToLiveInHours) { this.timeToLiveInHours = timeToLiveInHours; return this; } public Activation build() { return new Activation(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy