com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalAdminApiServerArgumentArgs Maven / Gradle / Ivy
// *** 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.googlenative.gkeonprem.v1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
/**
* BareMetalAdminApiServerArgument represents an arg name->value pair. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/
*
*/
public final class BareMetalAdminApiServerArgumentArgs extends com.pulumi.resources.ResourceArgs {
public static final BareMetalAdminApiServerArgumentArgs Empty = new BareMetalAdminApiServerArgumentArgs();
/**
* The argument name as it appears on the API Server command line please make sure to remove the leading dashes.
*
*/
@Import(name="argument", required=true)
private Output argument;
/**
* @return The argument name as it appears on the API Server command line please make sure to remove the leading dashes.
*
*/
public Output argument() {
return this.argument;
}
/**
* The value of the arg as it will be passed to the API Server command line.
*
*/
@Import(name="value", required=true)
private Output value;
/**
* @return The value of the arg as it will be passed to the API Server command line.
*
*/
public Output value() {
return this.value;
}
private BareMetalAdminApiServerArgumentArgs() {}
private BareMetalAdminApiServerArgumentArgs(BareMetalAdminApiServerArgumentArgs $) {
this.argument = $.argument;
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BareMetalAdminApiServerArgumentArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private BareMetalAdminApiServerArgumentArgs $;
public Builder() {
$ = new BareMetalAdminApiServerArgumentArgs();
}
public Builder(BareMetalAdminApiServerArgumentArgs defaults) {
$ = new BareMetalAdminApiServerArgumentArgs(Objects.requireNonNull(defaults));
}
/**
* @param argument The argument name as it appears on the API Server command line please make sure to remove the leading dashes.
*
* @return builder
*
*/
public Builder argument(Output argument) {
$.argument = argument;
return this;
}
/**
* @param argument The argument name as it appears on the API Server command line please make sure to remove the leading dashes.
*
* @return builder
*
*/
public Builder argument(String argument) {
return argument(Output.of(argument));
}
/**
* @param value The value of the arg as it will be passed to the API Server command line.
*
* @return builder
*
*/
public Builder value(Output value) {
$.value = value;
return this;
}
/**
* @param value The value of the arg as it will be passed to the API Server command line.
*
* @return builder
*
*/
public Builder value(String value) {
return value(Output.of(value));
}
public BareMetalAdminApiServerArgumentArgs build() {
$.argument = Objects.requireNonNull($.argument, "expected parameter 'argument' to be non-null");
$.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null");
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy