
com.pulumi.aws.pipes.outputs.PipeTargetParametersHttpParameters 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.aws.pipes.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PipeTargetParametersHttpParameters {
private @Nullable Map headerParameters;
private @Nullable String pathParameterValues;
private @Nullable Map queryStringParameters;
private PipeTargetParametersHttpParameters() {}
public Map headerParameters() {
return this.headerParameters == null ? Map.of() : this.headerParameters;
}
public Optional pathParameterValues() {
return Optional.ofNullable(this.pathParameterValues);
}
public Map queryStringParameters() {
return this.queryStringParameters == null ? Map.of() : this.queryStringParameters;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PipeTargetParametersHttpParameters defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map headerParameters;
private @Nullable String pathParameterValues;
private @Nullable Map queryStringParameters;
public Builder() {}
public Builder(PipeTargetParametersHttpParameters defaults) {
Objects.requireNonNull(defaults);
this.headerParameters = defaults.headerParameters;
this.pathParameterValues = defaults.pathParameterValues;
this.queryStringParameters = defaults.queryStringParameters;
}
@CustomType.Setter
public Builder headerParameters(@Nullable Map headerParameters) {
this.headerParameters = headerParameters;
return this;
}
@CustomType.Setter
public Builder pathParameterValues(@Nullable String pathParameterValues) {
this.pathParameterValues = pathParameterValues;
return this;
}
@CustomType.Setter
public Builder queryStringParameters(@Nullable Map queryStringParameters) {
this.queryStringParameters = queryStringParameters;
return this;
}
public PipeTargetParametersHttpParameters build() {
final var _resultValue = new PipeTargetParametersHttpParameters();
_resultValue.headerParameters = headerParameters;
_resultValue.pathParameterValues = pathParameterValues;
_resultValue.queryStringParameters = queryStringParameters;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy