com.pulumi.aws.ec2.outputs.GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute 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.
// *** 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.String;
import java.util.Objects;
@CustomType
public final class GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute {
private String attachmentId;
private String destinationCidr;
private String prefixListId;
private String resourceId;
private String resourceType;
private String routeOrigin;
private String state;
private GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute() {}
public String attachmentId() {
return this.attachmentId;
}
public String destinationCidr() {
return this.destinationCidr;
}
public String prefixListId() {
return this.prefixListId;
}
public String resourceId() {
return this.resourceId;
}
public String resourceType() {
return this.resourceType;
}
public String routeOrigin() {
return this.routeOrigin;
}
public String state() {
return this.state;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String attachmentId;
private String destinationCidr;
private String prefixListId;
private String resourceId;
private String resourceType;
private String routeOrigin;
private String state;
public Builder() {}
public Builder(GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute defaults) {
Objects.requireNonNull(defaults);
this.attachmentId = defaults.attachmentId;
this.destinationCidr = defaults.destinationCidr;
this.prefixListId = defaults.prefixListId;
this.resourceId = defaults.resourceId;
this.resourceType = defaults.resourceType;
this.routeOrigin = defaults.routeOrigin;
this.state = defaults.state;
}
@CustomType.Setter
public Builder attachmentId(String attachmentId) {
if (attachmentId == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute", "attachmentId");
}
this.attachmentId = attachmentId;
return this;
}
@CustomType.Setter
public Builder destinationCidr(String destinationCidr) {
if (destinationCidr == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute", "destinationCidr");
}
this.destinationCidr = destinationCidr;
return this;
}
@CustomType.Setter
public Builder prefixListId(String prefixListId) {
if (prefixListId == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute", "prefixListId");
}
this.prefixListId = prefixListId;
return this;
}
@CustomType.Setter
public Builder resourceId(String resourceId) {
if (resourceId == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute", "resourceId");
}
this.resourceId = resourceId;
return this;
}
@CustomType.Setter
public Builder resourceType(String resourceType) {
if (resourceType == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute", "resourceType");
}
this.resourceType = resourceType;
return this;
}
@CustomType.Setter
public Builder routeOrigin(String routeOrigin) {
if (routeOrigin == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute", "routeOrigin");
}
this.routeOrigin = routeOrigin;
return this;
}
@CustomType.Setter
public Builder state(String state) {
if (state == null) {
throw new MissingRequiredPropertyException("GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute", "state");
}
this.state = state;
return this;
}
public GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute build() {
final var _resultValue = new GetNetworkInsightsAnalysisForwardPathComponentTransitGatewayRouteTableRoute();
_resultValue.attachmentId = attachmentId;
_resultValue.destinationCidr = destinationCidr;
_resultValue.prefixListId = prefixListId;
_resultValue.resourceId = resourceId;
_resultValue.resourceType = resourceType;
_resultValue.routeOrigin = routeOrigin;
_resultValue.state = state;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy