com.pulumi.meraki.administered.outputs.LicensingSubscriptionSubscriptionsClaimKeyValidateItemCountsSeats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki 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.meraki.administered.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LicensingSubscriptionSubscriptionsClaimKeyValidateItemCountsSeats {
/**
* @return Number of seats in use
*
*/
private @Nullable Integer assigned;
/**
* @return Number of seats available for use
*
*/
private @Nullable Integer available;
/**
* @return Total number of seats provided by this subscription
*
*/
private @Nullable Integer limit;
private LicensingSubscriptionSubscriptionsClaimKeyValidateItemCountsSeats() {}
/**
* @return Number of seats in use
*
*/
public Optional assigned() {
return Optional.ofNullable(this.assigned);
}
/**
* @return Number of seats available for use
*
*/
public Optional available() {
return Optional.ofNullable(this.available);
}
/**
* @return Total number of seats provided by this subscription
*
*/
public Optional limit() {
return Optional.ofNullable(this.limit);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LicensingSubscriptionSubscriptionsClaimKeyValidateItemCountsSeats defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer assigned;
private @Nullable Integer available;
private @Nullable Integer limit;
public Builder() {}
public Builder(LicensingSubscriptionSubscriptionsClaimKeyValidateItemCountsSeats defaults) {
Objects.requireNonNull(defaults);
this.assigned = defaults.assigned;
this.available = defaults.available;
this.limit = defaults.limit;
}
@CustomType.Setter
public Builder assigned(@Nullable Integer assigned) {
this.assigned = assigned;
return this;
}
@CustomType.Setter
public Builder available(@Nullable Integer available) {
this.available = available;
return this;
}
@CustomType.Setter
public Builder limit(@Nullable Integer limit) {
this.limit = limit;
return this;
}
public LicensingSubscriptionSubscriptionsClaimKeyValidateItemCountsSeats build() {
final var _resultValue = new LicensingSubscriptionSubscriptionsClaimKeyValidateItemCountsSeats();
_resultValue.assigned = assigned;
_resultValue.available = available;
_resultValue.limit = limit;
return _resultValue;
}
}
}