com.pulumi.aws.ec2.outputs.GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) 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.aws.ec2.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange {
private Integer from;
private Integer to;
private GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange() {}
public Integer from() {
return this.from;
}
public Integer to() {
return this.to;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer from;
private Integer to;
public Builder() {}
public Builder(GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange defaults) {
Objects.requireNonNull(defaults);
this.from = defaults.from;
this.to = defaults.to;
}
@CustomType.Setter
public Builder from(Integer from) {
if (from == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange", "from");
}
this.from = from;
return this;
}
@CustomType.Setter
public Builder to(Integer to) {
if (to == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange", "to");
}
this.to = to;
return this;
}
public GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange build() {
final var _resultValue = new GetNetworkInsightsAnalysisForwardPathComponentOutboundHeaderSourcePortRange();
_resultValue.from = from;
_resultValue.to = to;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy