com.pulumi.kubernetes.flowcontrol.v1beta2.outputs.FlowDistinguisherMethodPatch 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.v1beta2.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FlowDistinguisherMethodPatch {
/**
* @return `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". Required.
*
*/
private @Nullable String type;
private FlowDistinguisherMethodPatch() {}
/**
* @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);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FlowDistinguisherMethodPatch defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String type;
public Builder() {}
public Builder(FlowDistinguisherMethodPatch defaults) {
Objects.requireNonNull(defaults);
this.type = defaults.type;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public FlowDistinguisherMethodPatch build() {
final var _resultValue = new FlowDistinguisherMethodPatch();
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy