com.pulumi.azurenative.softwareplan.inputs.GetHybridUseBenefitPlainArgs 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.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetHybridUseBenefitPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetHybridUseBenefitPlainArgs Empty = new GetHybridUseBenefitPlainArgs();
/**
* This is a unique identifier for a plan. Should be a guid.
*
*/
@Import(name="planId", required=true)
private String planId;
/**
* @return This is a unique identifier for a plan. Should be a guid.
*
*/
public String planId() {
return this.planId;
}
/**
* The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
*
*/
@Import(name="scope", required=true)
private String scope;
/**
* @return The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
*
*/
public String scope() {
return this.scope;
}
private GetHybridUseBenefitPlainArgs() {}
private GetHybridUseBenefitPlainArgs(GetHybridUseBenefitPlainArgs $) {
this.planId = $.planId;
this.scope = $.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetHybridUseBenefitPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetHybridUseBenefitPlainArgs $;
public Builder() {
$ = new GetHybridUseBenefitPlainArgs();
}
public Builder(GetHybridUseBenefitPlainArgs defaults) {
$ = new GetHybridUseBenefitPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param planId This is a unique identifier for a plan. Should be a guid.
*
* @return builder
*
*/
public Builder planId(String planId) {
$.planId = planId;
return this;
}
/**
* @param scope The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts for now
*
* @return builder
*
*/
public Builder scope(String scope) {
$.scope = scope;
return this;
}
public GetHybridUseBenefitPlainArgs build() {
if ($.planId == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitPlainArgs", "planId");
}
if ($.scope == null) {
throw new MissingRequiredPropertyException("GetHybridUseBenefitPlainArgs", "scope");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy