
com.pulumi.azurenative.cognitiveservices.outputs.SkuChangeInfoResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.cognitiveservices.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SkuChangeInfoResponse {
/**
* @return Gets the count of downgrades.
*
*/
private @Nullable Double countOfDowngrades;
/**
* @return Gets the count of upgrades after downgrades.
*
*/
private @Nullable Double countOfUpgradesAfterDowngrades;
/**
* @return Gets the last change date.
*
*/
private @Nullable String lastChangeDate;
private SkuChangeInfoResponse() {}
/**
* @return Gets the count of downgrades.
*
*/
public Optional countOfDowngrades() {
return Optional.ofNullable(this.countOfDowngrades);
}
/**
* @return Gets the count of upgrades after downgrades.
*
*/
public Optional countOfUpgradesAfterDowngrades() {
return Optional.ofNullable(this.countOfUpgradesAfterDowngrades);
}
/**
* @return Gets the last change date.
*
*/
public Optional lastChangeDate() {
return Optional.ofNullable(this.lastChangeDate);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SkuChangeInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Double countOfDowngrades;
private @Nullable Double countOfUpgradesAfterDowngrades;
private @Nullable String lastChangeDate;
public Builder() {}
public Builder(SkuChangeInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.countOfDowngrades = defaults.countOfDowngrades;
this.countOfUpgradesAfterDowngrades = defaults.countOfUpgradesAfterDowngrades;
this.lastChangeDate = defaults.lastChangeDate;
}
@CustomType.Setter
public Builder countOfDowngrades(@Nullable Double countOfDowngrades) {
this.countOfDowngrades = countOfDowngrades;
return this;
}
@CustomType.Setter
public Builder countOfUpgradesAfterDowngrades(@Nullable Double countOfUpgradesAfterDowngrades) {
this.countOfUpgradesAfterDowngrades = countOfUpgradesAfterDowngrades;
return this;
}
@CustomType.Setter
public Builder lastChangeDate(@Nullable String lastChangeDate) {
this.lastChangeDate = lastChangeDate;
return this;
}
public SkuChangeInfoResponse build() {
final var _resultValue = new SkuChangeInfoResponse();
_resultValue.countOfDowngrades = countOfDowngrades;
_resultValue.countOfUpgradesAfterDowngrades = countOfUpgradesAfterDowngrades;
_resultValue.lastChangeDate = lastChangeDate;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy