com.pulumi.aws.appmesh.outputs.GetGatewayRouteSpecGrpcRouteAction 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.appmesh.outputs;
import com.pulumi.aws.appmesh.outputs.GetGatewayRouteSpecGrpcRouteActionTarget;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetGatewayRouteSpecGrpcRouteAction {
private List targets;
private GetGatewayRouteSpecGrpcRouteAction() {}
public List targets() {
return this.targets;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGatewayRouteSpecGrpcRouteAction defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List targets;
public Builder() {}
public Builder(GetGatewayRouteSpecGrpcRouteAction defaults) {
Objects.requireNonNull(defaults);
this.targets = defaults.targets;
}
@CustomType.Setter
public Builder targets(List targets) {
if (targets == null) {
throw new MissingRequiredPropertyException("GetGatewayRouteSpecGrpcRouteAction", "targets");
}
this.targets = targets;
return this;
}
public Builder targets(GetGatewayRouteSpecGrpcRouteActionTarget... targets) {
return targets(List.of(targets));
}
public GetGatewayRouteSpecGrpcRouteAction build() {
final var _resultValue = new GetGatewayRouteSpecGrpcRouteAction();
_resultValue.targets = targets;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy