com.pulumi.linode.inputs.GetAccountAvailabilitiesAvailabilityArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of linode Show documentation
Show all versions of linode Show documentation
A Pulumi package for creating and managing linode cloud 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.linode.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class GetAccountAvailabilitiesAvailabilityArgs extends com.pulumi.resources.ResourceArgs {
public static final GetAccountAvailabilitiesAvailabilityArgs Empty = new GetAccountAvailabilitiesAvailabilityArgs();
/**
* A set of services which are available for the given region.
*
*/
@Import(name="availables", required=true)
private Output> availables;
/**
* @return A set of services which are available for the given region.
*
*/
public Output> availables() {
return this.availables;
}
/**
* The region this availability entry refers to.
*
*/
@Import(name="region", required=true)
private Output region;
/**
* @return The region this availability entry refers to.
*
*/
public Output region() {
return this.region;
}
/**
* A set of services that are unavailable for the given region.
*
*/
@Import(name="unavailables", required=true)
private Output> unavailables;
/**
* @return A set of services that are unavailable for the given region.
*
*/
public Output> unavailables() {
return this.unavailables;
}
private GetAccountAvailabilitiesAvailabilityArgs() {}
private GetAccountAvailabilitiesAvailabilityArgs(GetAccountAvailabilitiesAvailabilityArgs $) {
this.availables = $.availables;
this.region = $.region;
this.unavailables = $.unavailables;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAccountAvailabilitiesAvailabilityArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAccountAvailabilitiesAvailabilityArgs $;
public Builder() {
$ = new GetAccountAvailabilitiesAvailabilityArgs();
}
public Builder(GetAccountAvailabilitiesAvailabilityArgs defaults) {
$ = new GetAccountAvailabilitiesAvailabilityArgs(Objects.requireNonNull(defaults));
}
/**
* @param availables A set of services which are available for the given region.
*
* @return builder
*
*/
public Builder availables(Output> availables) {
$.availables = availables;
return this;
}
/**
* @param availables A set of services which are available for the given region.
*
* @return builder
*
*/
public Builder availables(List availables) {
return availables(Output.of(availables));
}
/**
* @param availables A set of services which are available for the given region.
*
* @return builder
*
*/
public Builder availables(String... availables) {
return availables(List.of(availables));
}
/**
* @param region The region this availability entry refers to.
*
* @return builder
*
*/
public Builder region(Output region) {
$.region = region;
return this;
}
/**
* @param region The region this availability entry refers to.
*
* @return builder
*
*/
public Builder region(String region) {
return region(Output.of(region));
}
/**
* @param unavailables A set of services that are unavailable for the given region.
*
* @return builder
*
*/
public Builder unavailables(Output> unavailables) {
$.unavailables = unavailables;
return this;
}
/**
* @param unavailables A set of services that are unavailable for the given region.
*
* @return builder
*
*/
public Builder unavailables(List unavailables) {
return unavailables(Output.of(unavailables));
}
/**
* @param unavailables A set of services that are unavailable for the given region.
*
* @return builder
*
*/
public Builder unavailables(String... unavailables) {
return unavailables(List.of(unavailables));
}
public GetAccountAvailabilitiesAvailabilityArgs build() {
if ($.availables == null) {
throw new MissingRequiredPropertyException("GetAccountAvailabilitiesAvailabilityArgs", "availables");
}
if ($.region == null) {
throw new MissingRequiredPropertyException("GetAccountAvailabilitiesAvailabilityArgs", "region");
}
if ($.unavailables == null) {
throw new MissingRequiredPropertyException("GetAccountAvailabilitiesAvailabilityArgs", "unavailables");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy