com.pulumi.azurenative.softwareplan.outputs.GetHybridUseBenefitResult 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.softwareplan.outputs;
import com.pulumi.azurenative.softwareplan.outputs.SkuResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetHybridUseBenefitResult {
/**
* @return Created date
*
*/
private String createdDate;
/**
* @return Indicates the revision of the hybrid use benefit
*
*/
private Integer etag;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Last updated date
*
*/
private String lastUpdatedDate;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Provisioning state
*
*/
private String provisioningState;
/**
* @return Hybrid use benefit SKU
*
*/
private SkuResponse sku;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetHybridUseBenefitResult() {}
/**
* @return Created date
*
*/
public String createdDate() {
return this.createdDate;
}
/**
* @return Indicates the revision of the hybrid use benefit
*
*/
public Integer etag() {
return this.etag;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Last updated date
*
*/
public String lastUpdatedDate() {
return this.lastUpdatedDate;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Provisioning state
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Hybrid use benefit SKU
*
*/
public SkuResponse sku() {
return this.sku;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetHybridUseBenefitResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdDate;
private Integer etag;
private String id;
private String lastUpdatedDate;
private String name;
private String provisioningState;
private SkuResponse sku;
private String type;
public Builder() {}
public Builder(GetHybridUseBenefitResult defaults) {
Objects.requireNonNull(defaults);
this.createdDate = defaults.createdDate;
this.etag = defaults.etag;
this.id = defaults.id;
this.lastUpdatedDate = defaults.lastUpdatedDate;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.sku = defaults.sku;
this.type = defaults.type;
}
@CustomType.Setter
public Builder createdDate(String createdDate) {
if (createdDate == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitResult", "createdDate");
}
this.createdDate = createdDate;
return this;
}
@CustomType.Setter
public Builder etag(Integer etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitResult", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder lastUpdatedDate(String lastUpdatedDate) {
if (lastUpdatedDate == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitResult", "lastUpdatedDate");
}
this.lastUpdatedDate = lastUpdatedDate;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder sku(SkuResponse sku) {
if (sku == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitResult", "sku");
}
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitResult", "type");
}
this.type = type;
return this;
}
public GetHybridUseBenefitResult build() {
final var _resultValue = new GetHybridUseBenefitResult();
_resultValue.createdDate = createdDate;
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.lastUpdatedDate = lastUpdatedDate;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.sku = sku;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy