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

com.aliyun.ros.cdk.cas.RosOrderProps Maven / Gradle / Ivy

package com.aliyun.ros.cdk.cas;

/**
 * Properties for defining a RosOrder.
 * 

* See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cas-order */ @javax.annotation.Generated(value = "jsii-pacmak/1.85.0 (build 08ee592)", date = "2024-04-09T06:05:30.658Z") @software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.cas.$Module.class, fqn = "@alicloud/ros-cdk-cas.RosOrderProps") @software.amazon.jsii.Jsii.Proxy(RosOrderProps.Jsii$Proxy.class) public interface RosOrderProps extends software.amazon.jsii.JsiiSerializable { /** */ @org.jetbrains.annotations.NotNull java.lang.Object getCertBrand(); /** */ @org.jetbrains.annotations.NotNull java.lang.Object getCertType(); /** */ default @org.jetbrains.annotations.Nullable java.lang.Object getDomainCnt() { return null; } /** */ default @org.jetbrains.annotations.Nullable java.lang.Object getDomains() { return null; } /** */ default @org.jetbrains.annotations.Nullable java.lang.Object getDomainType() { return null; } /** */ default @org.jetbrains.annotations.Nullable java.lang.Object getMerge() { return null; } /** */ default @org.jetbrains.annotations.Nullable java.lang.Object getMonitor() { return null; } /** */ default @org.jetbrains.annotations.Nullable java.lang.Object getPeriod() { return null; } /** */ default @org.jetbrains.annotations.Nullable java.lang.Object getService() { return null; } /** * @return a {@link Builder} of {@link RosOrderProps} */ static Builder builder() { return new Builder(); } /** * A builder for {@link RosOrderProps} */ public static final class Builder implements software.amazon.jsii.Builder { java.lang.Object certBrand; java.lang.Object certType; java.lang.Object domainCnt; java.lang.Object domains; java.lang.Object domainType; java.lang.Object merge; java.lang.Object monitor; java.lang.Object period; java.lang.Object service; /** * Sets the value of {@link RosOrderProps#getCertBrand} * @param certBrand the value to be set. This parameter is required. * @return {@code this} */ public Builder certBrand(java.lang.String certBrand) { this.certBrand = certBrand; return this; } /** * Sets the value of {@link RosOrderProps#getCertBrand} * @param certBrand the value to be set. This parameter is required. * @return {@code this} */ public Builder certBrand(com.aliyun.ros.cdk.core.IResolvable certBrand) { this.certBrand = certBrand; return this; } /** * Sets the value of {@link RosOrderProps#getCertType} * @param certType the value to be set. This parameter is required. * @return {@code this} */ public Builder certType(java.lang.String certType) { this.certType = certType; return this; } /** * Sets the value of {@link RosOrderProps#getCertType} * @param certType the value to be set. This parameter is required. * @return {@code this} */ public Builder certType(com.aliyun.ros.cdk.core.IResolvable certType) { this.certType = certType; return this; } /** * Sets the value of {@link RosOrderProps#getDomainCnt} * @param domainCnt the value to be set. * @return {@code this} */ public Builder domainCnt(java.lang.Number domainCnt) { this.domainCnt = domainCnt; return this; } /** * Sets the value of {@link RosOrderProps#getDomainCnt} * @param domainCnt the value to be set. * @return {@code this} */ public Builder domainCnt(com.aliyun.ros.cdk.core.IResolvable domainCnt) { this.domainCnt = domainCnt; return this; } /** * Sets the value of {@link RosOrderProps#getDomains} * @param domains the value to be set. * @return {@code this} */ public Builder domains(com.aliyun.ros.cdk.core.IResolvable domains) { this.domains = domains; return this; } /** * Sets the value of {@link RosOrderProps#getDomains} * @param domains the value to be set. * @return {@code this} */ public Builder domains(java.util.List domains) { this.domains = domains; return this; } /** * Sets the value of {@link RosOrderProps#getDomainType} * @param domainType the value to be set. * @return {@code this} */ public Builder domainType(java.lang.String domainType) { this.domainType = domainType; return this; } /** * Sets the value of {@link RosOrderProps#getDomainType} * @param domainType the value to be set. * @return {@code this} */ public Builder domainType(com.aliyun.ros.cdk.core.IResolvable domainType) { this.domainType = domainType; return this; } /** * Sets the value of {@link RosOrderProps#getMerge} * @param merge the value to be set. * @return {@code this} */ public Builder merge(java.lang.Boolean merge) { this.merge = merge; return this; } /** * Sets the value of {@link RosOrderProps#getMerge} * @param merge the value to be set. * @return {@code this} */ public Builder merge(com.aliyun.ros.cdk.core.IResolvable merge) { this.merge = merge; return this; } /** * Sets the value of {@link RosOrderProps#getMonitor} * @param monitor the value to be set. * @return {@code this} */ public Builder monitor(java.lang.Boolean monitor) { this.monitor = monitor; return this; } /** * Sets the value of {@link RosOrderProps#getMonitor} * @param monitor the value to be set. * @return {@code this} */ public Builder monitor(com.aliyun.ros.cdk.core.IResolvable monitor) { this.monitor = monitor; return this; } /** * Sets the value of {@link RosOrderProps#getPeriod} * @param period the value to be set. * @return {@code this} */ public Builder period(java.lang.Number period) { this.period = period; return this; } /** * Sets the value of {@link RosOrderProps#getPeriod} * @param period the value to be set. * @return {@code this} */ public Builder period(com.aliyun.ros.cdk.core.IResolvable period) { this.period = period; return this; } /** * Sets the value of {@link RosOrderProps#getService} * @param service the value to be set. * @return {@code this} */ public Builder service(java.lang.String service) { this.service = service; return this; } /** * Sets the value of {@link RosOrderProps#getService} * @param service the value to be set. * @return {@code this} */ public Builder service(com.aliyun.ros.cdk.core.IResolvable service) { this.service = service; return this; } /** * Builds the configured instance. * @return a new instance of {@link RosOrderProps} * @throws NullPointerException if any required attribute was not provided */ @Override public RosOrderProps build() { return new Jsii$Proxy(this); } } /** * An implementation for {@link RosOrderProps} */ @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RosOrderProps { private final java.lang.Object certBrand; private final java.lang.Object certType; private final java.lang.Object domainCnt; private final java.lang.Object domains; private final java.lang.Object domainType; private final java.lang.Object merge; private final java.lang.Object monitor; private final java.lang.Object period; private final java.lang.Object service; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.certBrand = software.amazon.jsii.Kernel.get(this, "certBrand", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.certType = software.amazon.jsii.Kernel.get(this, "certType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.domainCnt = software.amazon.jsii.Kernel.get(this, "domainCnt", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.domains = software.amazon.jsii.Kernel.get(this, "domains", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.domainType = software.amazon.jsii.Kernel.get(this, "domainType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.merge = software.amazon.jsii.Kernel.get(this, "merge", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.monitor = software.amazon.jsii.Kernel.get(this, "monitor", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.period = software.amazon.jsii.Kernel.get(this, "period", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.service = software.amazon.jsii.Kernel.get(this, "service", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ protected Jsii$Proxy(final Builder builder) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.certBrand = java.util.Objects.requireNonNull(builder.certBrand, "certBrand is required"); this.certType = java.util.Objects.requireNonNull(builder.certType, "certType is required"); this.domainCnt = builder.domainCnt; this.domains = builder.domains; this.domainType = builder.domainType; this.merge = builder.merge; this.monitor = builder.monitor; this.period = builder.period; this.service = builder.service; } @Override public final java.lang.Object getCertBrand() { return this.certBrand; } @Override public final java.lang.Object getCertType() { return this.certType; } @Override public final java.lang.Object getDomainCnt() { return this.domainCnt; } @Override public final java.lang.Object getDomains() { return this.domains; } @Override public final java.lang.Object getDomainType() { return this.domainType; } @Override public final java.lang.Object getMerge() { return this.merge; } @Override public final java.lang.Object getMonitor() { return this.monitor; } @Override public final java.lang.Object getPeriod() { return this.period; } @Override public final java.lang.Object getService() { return this.service; } @Override @software.amazon.jsii.Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); data.set("certBrand", om.valueToTree(this.getCertBrand())); data.set("certType", om.valueToTree(this.getCertType())); if (this.getDomainCnt() != null) { data.set("domainCnt", om.valueToTree(this.getDomainCnt())); } if (this.getDomains() != null) { data.set("domains", om.valueToTree(this.getDomains())); } if (this.getDomainType() != null) { data.set("domainType", om.valueToTree(this.getDomainType())); } if (this.getMerge() != null) { data.set("merge", om.valueToTree(this.getMerge())); } if (this.getMonitor() != null) { data.set("monitor", om.valueToTree(this.getMonitor())); } if (this.getPeriod() != null) { data.set("period", om.valueToTree(this.getPeriod())); } if (this.getService() != null) { data.set("service", om.valueToTree(this.getService())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@alicloud/ros-cdk-cas.RosOrderProps")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public final boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; RosOrderProps.Jsii$Proxy that = (RosOrderProps.Jsii$Proxy) o; if (!certBrand.equals(that.certBrand)) return false; if (!certType.equals(that.certType)) return false; if (this.domainCnt != null ? !this.domainCnt.equals(that.domainCnt) : that.domainCnt != null) return false; if (this.domains != null ? !this.domains.equals(that.domains) : that.domains != null) return false; if (this.domainType != null ? !this.domainType.equals(that.domainType) : that.domainType != null) return false; if (this.merge != null ? !this.merge.equals(that.merge) : that.merge != null) return false; if (this.monitor != null ? !this.monitor.equals(that.monitor) : that.monitor != null) return false; if (this.period != null ? !this.period.equals(that.period) : that.period != null) return false; return this.service != null ? this.service.equals(that.service) : that.service == null; } @Override public final int hashCode() { int result = this.certBrand.hashCode(); result = 31 * result + (this.certType.hashCode()); result = 31 * result + (this.domainCnt != null ? this.domainCnt.hashCode() : 0); result = 31 * result + (this.domains != null ? this.domains.hashCode() : 0); result = 31 * result + (this.domainType != null ? this.domainType.hashCode() : 0); result = 31 * result + (this.merge != null ? this.merge.hashCode() : 0); result = 31 * result + (this.monitor != null ? this.monitor.hashCode() : 0); result = 31 * result + (this.period != null ? this.period.hashCode() : 0); result = 31 * result + (this.service != null ? this.service.hashCode() : 0); return result; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy