
com.pulumi.azurenative.awsconnector.outputs.MatcherResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.awsconnector.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 MatcherResponse {
/**
* @return You can specify values between 0 and 99. You can specify multiple values, or a range of values. The default value is 12.
*
*/
private @Nullable String grpcCode;
/**
* @return For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values or a range of values.
*
*/
private @Nullable String httpCode;
private MatcherResponse() {}
/**
* @return You can specify values between 0 and 99. You can specify multiple values, or a range of values. The default value is 12.
*
*/
public Optional grpcCode() {
return Optional.ofNullable(this.grpcCode);
}
/**
* @return For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values or a range of values.
*
*/
public Optional httpCode() {
return Optional.ofNullable(this.httpCode);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MatcherResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String grpcCode;
private @Nullable String httpCode;
public Builder() {}
public Builder(MatcherResponse defaults) {
Objects.requireNonNull(defaults);
this.grpcCode = defaults.grpcCode;
this.httpCode = defaults.httpCode;
}
@CustomType.Setter
public Builder grpcCode(@Nullable String grpcCode) {
this.grpcCode = grpcCode;
return this;
}
@CustomType.Setter
public Builder httpCode(@Nullable String httpCode) {
this.httpCode = httpCode;
return this;
}
public MatcherResponse build() {
final var _resultValue = new MatcherResponse();
_resultValue.grpcCode = grpcCode;
_resultValue.httpCode = httpCode;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy