com.pulumi.kubernetes.resource.v1alpha2.inputs.NamedResourcesIntSliceArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes 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.kubernetes.resource.v1alpha2.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;
/**
* NamedResourcesIntSlice contains a slice of 64-bit integers.
*
*/
public final class NamedResourcesIntSliceArgs extends com.pulumi.resources.ResourceArgs {
public static final NamedResourcesIntSliceArgs Empty = new NamedResourcesIntSliceArgs();
/**
* Ints is the slice of 64-bit integers.
*
*/
@Import(name="ints", required=true)
private Output> ints;
/**
* @return Ints is the slice of 64-bit integers.
*
*/
public Output> ints() {
return this.ints;
}
private NamedResourcesIntSliceArgs() {}
private NamedResourcesIntSliceArgs(NamedResourcesIntSliceArgs $) {
this.ints = $.ints;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NamedResourcesIntSliceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private NamedResourcesIntSliceArgs $;
public Builder() {
$ = new NamedResourcesIntSliceArgs();
}
public Builder(NamedResourcesIntSliceArgs defaults) {
$ = new NamedResourcesIntSliceArgs(Objects.requireNonNull(defaults));
}
/**
* @param ints Ints is the slice of 64-bit integers.
*
* @return builder
*
*/
public Builder ints(Output> ints) {
$.ints = ints;
return this;
}
/**
* @param ints Ints is the slice of 64-bit integers.
*
* @return builder
*
*/
public Builder ints(List ints) {
return ints(Output.of(ints));
}
/**
* @param ints Ints is the slice of 64-bit integers.
*
* @return builder
*
*/
public Builder ints(Integer... ints) {
return ints(List.of(ints));
}
public NamedResourcesIntSliceArgs build() {
if ($.ints == null) {
throw new MissingRequiredPropertyException("NamedResourcesIntSliceArgs", "ints");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy