com.pulumi.spotinst.aws.outputs.ElastigroupItfTargetGroupConfigMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotinst Show documentation
Show all versions of spotinst Show documentation
A Pulumi package for creating and managing spotinst cloud resources.
The newest version!
// *** 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.spotinst.aws.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 ElastigroupItfTargetGroupConfigMatcher {
private @Nullable String grpcCode;
private @Nullable String httpCode;
private ElastigroupItfTargetGroupConfigMatcher() {}
public Optional grpcCode() {
return Optional.ofNullable(this.grpcCode);
}
public Optional httpCode() {
return Optional.ofNullable(this.httpCode);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ElastigroupItfTargetGroupConfigMatcher defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String grpcCode;
private @Nullable String httpCode;
public Builder() {}
public Builder(ElastigroupItfTargetGroupConfigMatcher 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 ElastigroupItfTargetGroupConfigMatcher build() {
final var _resultValue = new ElastigroupItfTargetGroupConfigMatcher();
_resultValue.grpcCode = grpcCode;
_resultValue.httpCode = httpCode;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy