Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.datamigration.inputs.ServiceSkuArgs Maven / Gradle / Ivy
Go to download
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.datamigration.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* An Azure SKU instance
*
*/
public final class ServiceSkuArgs extends com.pulumi.resources.ResourceArgs {
public static final ServiceSkuArgs Empty = new ServiceSkuArgs();
/**
* The capacity of the SKU, if it supports scaling
*
*/
@Import(name="capacity")
private @Nullable Output capacity;
/**
* @return The capacity of the SKU, if it supports scaling
*
*/
public Optional> capacity() {
return Optional.ofNullable(this.capacity);
}
/**
* The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
*
*/
@Import(name="family")
private @Nullable Output family;
/**
* @return The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
*
*/
public Optional> family() {
return Optional.ofNullable(this.family);
}
/**
* The unique name of the SKU, such as 'P3'
*
*/
@Import(name="name")
private @Nullable Output name;
/**
* @return The unique name of the SKU, such as 'P3'
*
*/
public Optional> name() {
return Optional.ofNullable(this.name);
}
/**
* The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
*
*/
@Import(name="size")
private @Nullable Output size;
/**
* @return The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
*
*/
public Optional> size() {
return Optional.ofNullable(this.size);
}
/**
* The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'
*
*/
@Import(name="tier")
private @Nullable Output tier;
/**
* @return The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'
*
*/
public Optional> tier() {
return Optional.ofNullable(this.tier);
}
private ServiceSkuArgs() {}
private ServiceSkuArgs(ServiceSkuArgs $) {
this.capacity = $.capacity;
this.family = $.family;
this.name = $.name;
this.size = $.size;
this.tier = $.tier;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceSkuArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ServiceSkuArgs $;
public Builder() {
$ = new ServiceSkuArgs();
}
public Builder(ServiceSkuArgs defaults) {
$ = new ServiceSkuArgs(Objects.requireNonNull(defaults));
}
/**
* @param capacity The capacity of the SKU, if it supports scaling
*
* @return builder
*
*/
public Builder capacity(@Nullable Output capacity) {
$.capacity = capacity;
return this;
}
/**
* @param capacity The capacity of the SKU, if it supports scaling
*
* @return builder
*
*/
public Builder capacity(Integer capacity) {
return capacity(Output.of(capacity));
}
/**
* @param family The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
*
* @return builder
*
*/
public Builder family(@Nullable Output family) {
$.family = family;
return this;
}
/**
* @param family The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
*
* @return builder
*
*/
public Builder family(String family) {
return family(Output.of(family));
}
/**
* @param name The unique name of the SKU, such as 'P3'
*
* @return builder
*
*/
public Builder name(@Nullable Output name) {
$.name = name;
return this;
}
/**
* @param name The unique name of the SKU, such as 'P3'
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param size The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
*
* @return builder
*
*/
public Builder size(@Nullable Output size) {
$.size = size;
return this;
}
/**
* @param size The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
*
* @return builder
*
*/
public Builder size(String size) {
return size(Output.of(size));
}
/**
* @param tier The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'
*
* @return builder
*
*/
public Builder tier(@Nullable Output tier) {
$.tier = tier;
return this;
}
/**
* @param tier The tier of the SKU, such as 'Basic', 'General Purpose', or 'Business Critical'
*
* @return builder
*
*/
public Builder tier(String tier) {
return tier(Output.of(tier));
}
public ServiceSkuArgs build() {
return $;
}
}
}