All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.flowcontrol.v1beta3.inputs.FlowDistinguisherMethodPatchArgs Maven / Gradle / Ivy

There is a newer version: 4.19.0-alpha.1730750641
Show newest version
// *** 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * FlowDistinguisherMethod specifies the method of a flow distinguisher.
 * 
 */
public final class FlowDistinguisherMethodPatchArgs extends com.pulumi.resources.ResourceArgs {

    public static final FlowDistinguisherMethodPatchArgs Empty = new FlowDistinguisherMethodPatchArgs();

    /**
     * `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private FlowDistinguisherMethodPatchArgs() {}

    private FlowDistinguisherMethodPatchArgs(FlowDistinguisherMethodPatchArgs $) {
        this.type = $.type;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(FlowDistinguisherMethodPatchArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private FlowDistinguisherMethodPatchArgs $;

        public Builder() {
            $ = new FlowDistinguisherMethodPatchArgs();
        }

        public Builder(FlowDistinguisherMethodPatchArgs defaults) {
            $ = new FlowDistinguisherMethodPatchArgs(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(@Nullable 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 FlowDistinguisherMethodPatchArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy