com.pulumi.scm.outputs.GetHttpHeaderProfileListDataHttpHeaderInsertion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scm Show documentation
Show all versions of scm Show documentation
A Pulumi package for managing resources on Strata Cloud Manager.
// *** 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.scm.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.scm.outputs.GetHttpHeaderProfileListDataHttpHeaderInsertionType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetHttpHeaderProfileListDataHttpHeaderInsertion {
/**
* @return The Name param.
*
*/
private String name;
/**
* @return The Types param.
*
*/
private List types;
private GetHttpHeaderProfileListDataHttpHeaderInsertion() {}
/**
* @return The Name param.
*
*/
public String name() {
return this.name;
}
/**
* @return The Types param.
*
*/
public List types() {
return this.types;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetHttpHeaderProfileListDataHttpHeaderInsertion defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private List types;
public Builder() {}
public Builder(GetHttpHeaderProfileListDataHttpHeaderInsertion defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.types = defaults.types;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetHttpHeaderProfileListDataHttpHeaderInsertion", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder types(List types) {
if (types == null) {
throw new MissingRequiredPropertyException("GetHttpHeaderProfileListDataHttpHeaderInsertion", "types");
}
this.types = types;
return this;
}
public Builder types(GetHttpHeaderProfileListDataHttpHeaderInsertionType... types) {
return types(List.of(types));
}
public GetHttpHeaderProfileListDataHttpHeaderInsertion build() {
final var _resultValue = new GetHttpHeaderProfileListDataHttpHeaderInsertion();
_resultValue.name = name;
_resultValue.types = types;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy