com.pulumi.aws.appmesh.inputs.GatewayRouteSpecHttpRouteActionRewriteHostnameArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GatewayRouteSpecHttpRouteActionRewriteHostnameArgs extends com.pulumi.resources.ResourceArgs {
public static final GatewayRouteSpecHttpRouteActionRewriteHostnameArgs Empty = new GatewayRouteSpecHttpRouteActionRewriteHostnameArgs();
/**
* Default target host name to write to. Valid values: `ENABLED`, `DISABLED`.
*
*/
@Import(name="defaultTargetHostname", required=true)
private Output defaultTargetHostname;
/**
* @return Default target host name to write to. Valid values: `ENABLED`, `DISABLED`.
*
*/
public Output defaultTargetHostname() {
return this.defaultTargetHostname;
}
private GatewayRouteSpecHttpRouteActionRewriteHostnameArgs() {}
private GatewayRouteSpecHttpRouteActionRewriteHostnameArgs(GatewayRouteSpecHttpRouteActionRewriteHostnameArgs $) {
this.defaultTargetHostname = $.defaultTargetHostname;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GatewayRouteSpecHttpRouteActionRewriteHostnameArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GatewayRouteSpecHttpRouteActionRewriteHostnameArgs $;
public Builder() {
$ = new GatewayRouteSpecHttpRouteActionRewriteHostnameArgs();
}
public Builder(GatewayRouteSpecHttpRouteActionRewriteHostnameArgs defaults) {
$ = new GatewayRouteSpecHttpRouteActionRewriteHostnameArgs(Objects.requireNonNull(defaults));
}
/**
* @param defaultTargetHostname Default target host name to write to. Valid values: `ENABLED`, `DISABLED`.
*
* @return builder
*
*/
public Builder defaultTargetHostname(Output defaultTargetHostname) {
$.defaultTargetHostname = defaultTargetHostname;
return this;
}
/**
* @param defaultTargetHostname Default target host name to write to. Valid values: `ENABLED`, `DISABLED`.
*
* @return builder
*
*/
public Builder defaultTargetHostname(String defaultTargetHostname) {
return defaultTargetHostname(Output.of(defaultTargetHostname));
}
public GatewayRouteSpecHttpRouteActionRewriteHostnameArgs build() {
if ($.defaultTargetHostname == null) {
throw new MissingRequiredPropertyException("GatewayRouteSpecHttpRouteActionRewriteHostnameArgs", "defaultTargetHostname");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy