Package com.pulumi.aws.vpclattice
Class ListenerArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.vpclattice.ListenerArgs.Builder
-
- Enclosing class:
- ListenerArgs
public static final class ListenerArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerArgsbuild()ListenerArgs.BuilderdefaultAction(ListenerDefaultActionArgs defaultAction)ListenerArgs.BuilderdefaultAction(com.pulumi.core.Output<ListenerDefaultActionArgs> defaultAction)ListenerArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)ListenerArgs.Buildername(java.lang.String name)ListenerArgs.Builderport(com.pulumi.core.Output<java.lang.Integer> port)ListenerArgs.Builderport(java.lang.Integer port)ListenerArgs.Builderprotocol(com.pulumi.core.Output<java.lang.String> protocol)ListenerArgs.Builderprotocol(java.lang.String protocol)ListenerArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)ListenerArgs.Builderregion(java.lang.String region)ListenerArgs.BuilderserviceArn(com.pulumi.core.Output<java.lang.String> serviceArn)ListenerArgs.BuilderserviceArn(java.lang.String serviceArn)ListenerArgs.BuilderserviceIdentifier(com.pulumi.core.Output<java.lang.String> serviceIdentifier)ListenerArgs.BuilderserviceIdentifier(java.lang.String serviceIdentifier)ListenerArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ListenerArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerArgs defaults)
-
-
Method Detail
-
defaultAction
public ListenerArgs.Builder defaultAction(com.pulumi.core.Output<ListenerDefaultActionArgs> defaultAction)
- Parameters:
defaultAction- Default action block for the default listener rule. Default action blocks are defined below.- Returns:
- builder
-
defaultAction
public ListenerArgs.Builder defaultAction(ListenerDefaultActionArgs defaultAction)
- Parameters:
defaultAction- Default action block for the default listener rule. Default action blocks are defined below.- Returns:
- builder
-
name
public ListenerArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the listener. A listener name must be unique within a service. Valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.- Returns:
- builder
-
name
public ListenerArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the listener. A listener name must be unique within a service. Valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.- Returns:
- builder
-
port
public ListenerArgs.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- Listener port. You can specify a value from 1 to 65535. If `port` is not specified and `protocol` is HTTP, the value will default to 80. If `port` is not specified and `protocol` is HTTPS, the value will default to 443.- Returns:
- builder
-
port
public ListenerArgs.Builder port(java.lang.Integer port)
- Parameters:
port- Listener port. You can specify a value from 1 to 65535. If `port` is not specified and `protocol` is HTTP, the value will default to 80. If `port` is not specified and `protocol` is HTTPS, the value will default to 443.- Returns:
- builder
-
protocol
public ListenerArgs.Builder protocol(com.pulumi.core.Output<java.lang.String> protocol)
- Parameters:
protocol- Protocol for the listener. Supported values are `HTTP`, `HTTPS` or `TLS_PASSTHROUGH`- Returns:
- builder
-
protocol
public ListenerArgs.Builder protocol(java.lang.String protocol)
- Parameters:
protocol- Protocol for the listener. Supported values are `HTTP`, `HTTPS` or `TLS_PASSTHROUGH`- Returns:
- builder
-
region
public ListenerArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public ListenerArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
serviceArn
public ListenerArgs.Builder serviceArn(@Nullable com.pulumi.core.Output<java.lang.String> serviceArn)
- Parameters:
serviceArn- ARN of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.- Returns:
- builder
-
serviceArn
public ListenerArgs.Builder serviceArn(java.lang.String serviceArn)
- Parameters:
serviceArn- ARN of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.- Returns:
- builder
-
serviceIdentifier
public ListenerArgs.Builder serviceIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> serviceIdentifier)
- Parameters:
serviceIdentifier- ID of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments. > **NOTE:** You must specify one of the following arguments: `serviceArn` or `serviceIdentifier`.- Returns:
- builder
-
serviceIdentifier
public ListenerArgs.Builder serviceIdentifier(java.lang.String serviceIdentifier)
- Parameters:
serviceIdentifier- ID of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments. > **NOTE:** You must specify one of the following arguments: `serviceArn` or `serviceIdentifier`.- Returns:
- builder
-
tags
public ListenerArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public ListenerArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public ListenerArgs build()
-
-