com.pulumi.kubernetes.flowcontrol.v1beta3.inputs.FlowDistinguisherMethodArgs 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.flowcontrol.v1beta3.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* FlowDistinguisherMethod specifies the method of a flow distinguisher.
*
*/
public final class FlowDistinguisherMethodArgs extends com.pulumi.resources.ResourceArgs {
public static final FlowDistinguisherMethodArgs Empty = new FlowDistinguisherMethodArgs();
/**
* `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
*
*/
public Output type() {
return this.type;
}
private FlowDistinguisherMethodArgs() {}
private FlowDistinguisherMethodArgs(FlowDistinguisherMethodArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FlowDistinguisherMethodArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private FlowDistinguisherMethodArgs $;
public Builder() {
$ = new FlowDistinguisherMethodArgs();
}
public Builder(FlowDistinguisherMethodArgs defaults) {
$ = new FlowDistinguisherMethodArgs(Objects.requireNonNull(defaults));
}
/**
* @param type `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public FlowDistinguisherMethodArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("FlowDistinguisherMethodArgs", "type");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy