com.pulumi.azurenative.avs.outputs.AddonSrmPropertiesResponse 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.avs.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AddonSrmPropertiesResponse {
/**
* @return The type of private cloud addon
* Expected value is 'SRM'.
*
*/
private String addonType;
/**
* @return The Site Recovery Manager (SRM) license
*
*/
private @Nullable String licenseKey;
/**
* @return The state of the addon provisioning
*
*/
private String provisioningState;
private AddonSrmPropertiesResponse() {}
/**
* @return The type of private cloud addon
* Expected value is 'SRM'.
*
*/
public String addonType() {
return this.addonType;
}
/**
* @return The Site Recovery Manager (SRM) license
*
*/
public Optional licenseKey() {
return Optional.ofNullable(this.licenseKey);
}
/**
* @return The state of the addon provisioning
*
*/
public String provisioningState() {
return this.provisioningState;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AddonSrmPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String addonType;
private @Nullable String licenseKey;
private String provisioningState;
public Builder() {}
public Builder(AddonSrmPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.addonType = defaults.addonType;
this.licenseKey = defaults.licenseKey;
this.provisioningState = defaults.provisioningState;
}
@CustomType.Setter
public Builder addonType(String addonType) {
if (addonType == null) {
throw new MissingRequiredPropertyException("AddonSrmPropertiesResponse", "addonType");
}
this.addonType = addonType;
return this;
}
@CustomType.Setter
public Builder licenseKey(@Nullable String licenseKey) {
this.licenseKey = licenseKey;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("AddonSrmPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
public AddonSrmPropertiesResponse build() {
final var _resultValue = new AddonSrmPropertiesResponse();
_resultValue.addonType = addonType;
_resultValue.licenseKey = licenseKey;
_resultValue.provisioningState = provisioningState;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy