com.pulumi.alicloud.apigateway.outputs.ApiSystemParameter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.apigateway.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ApiSystemParameter {
/**
* @return System parameter location; values: 'HEAD' and 'QUERY'.
*
*/
private String in;
/**
* @return System parameter name which supports values including in [system parameter list](https://www.alibabacloud.com/help/doc-detail/43677.html).
*
*/
private String name;
/**
* @return Backend service's parameter name.
*
*/
private String nameService;
private ApiSystemParameter() {}
/**
* @return System parameter location; values: 'HEAD' and 'QUERY'.
*
*/
public String in() {
return this.in;
}
/**
* @return System parameter name which supports values including in [system parameter list](https://www.alibabacloud.com/help/doc-detail/43677.html).
*
*/
public String name() {
return this.name;
}
/**
* @return Backend service's parameter name.
*
*/
public String nameService() {
return this.nameService;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApiSystemParameter defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String in;
private String name;
private String nameService;
public Builder() {}
public Builder(ApiSystemParameter defaults) {
Objects.requireNonNull(defaults);
this.in = defaults.in;
this.name = defaults.name;
this.nameService = defaults.nameService;
}
@CustomType.Setter
public Builder in(String in) {
if (in == null) {
throw new MissingRequiredPropertyException("ApiSystemParameter", "in");
}
this.in = in;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ApiSystemParameter", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder nameService(String nameService) {
if (nameService == null) {
throw new MissingRequiredPropertyException("ApiSystemParameter", "nameService");
}
this.nameService = nameService;
return this;
}
public ApiSystemParameter build() {
final var _resultValue = new ApiSystemParameter();
_resultValue.in = in;
_resultValue.name = name;
_resultValue.nameService = nameService;
return _resultValue;
}
}
}