Package com.pulumi.aws.rds.inputs
Class ProxyState.Builder
- java.lang.Object
-
- com.pulumi.aws.rds.inputs.ProxyState.Builder
-
- Enclosing class:
- ProxyState
public static final class ProxyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ProxyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)ProxyState.Builderarn(java.lang.String arn)ProxyState.Builderauths(ProxyAuthArgs... auths)ProxyState.Builderauths(com.pulumi.core.Output<java.util.List<ProxyAuthArgs>> auths)ProxyState.Builderauths(java.util.List<ProxyAuthArgs> auths)ProxyStatebuild()ProxyState.BuilderdebugLogging(com.pulumi.core.Output<java.lang.Boolean> debugLogging)ProxyState.BuilderdebugLogging(java.lang.Boolean debugLogging)ProxyState.BuilderdefaultAuthScheme(com.pulumi.core.Output<java.lang.String> defaultAuthScheme)ProxyState.BuilderdefaultAuthScheme(java.lang.String defaultAuthScheme)ProxyState.Builderendpoint(com.pulumi.core.Output<java.lang.String> endpoint)ProxyState.Builderendpoint(java.lang.String endpoint)ProxyState.BuilderendpointNetworkType(com.pulumi.core.Output<java.lang.String> endpointNetworkType)ProxyState.BuilderendpointNetworkType(java.lang.String endpointNetworkType)ProxyState.BuilderengineFamily(com.pulumi.core.Output<java.lang.String> engineFamily)ProxyState.BuilderengineFamily(java.lang.String engineFamily)ProxyState.BuilderidleClientTimeout(com.pulumi.core.Output<java.lang.Integer> idleClientTimeout)ProxyState.BuilderidleClientTimeout(java.lang.Integer idleClientTimeout)ProxyState.Buildername(com.pulumi.core.Output<java.lang.String> name)ProxyState.Buildername(java.lang.String name)ProxyState.Builderregion(com.pulumi.core.Output<java.lang.String> region)ProxyState.Builderregion(java.lang.String region)ProxyState.BuilderrequireTls(com.pulumi.core.Output<java.lang.Boolean> requireTls)ProxyState.BuilderrequireTls(java.lang.Boolean requireTls)ProxyState.BuilderroleArn(com.pulumi.core.Output<java.lang.String> roleArn)ProxyState.BuilderroleArn(java.lang.String roleArn)ProxyState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)ProxyState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)ProxyState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)ProxyState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)ProxyState.BuildertargetConnectionNetworkType(com.pulumi.core.Output<java.lang.String> targetConnectionNetworkType)ProxyState.BuildertargetConnectionNetworkType(java.lang.String targetConnectionNetworkType)ProxyState.BuildervpcSecurityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)ProxyState.BuildervpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)ProxyState.BuildervpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)ProxyState.BuildervpcSubnetIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSubnetIds)ProxyState.BuildervpcSubnetIds(java.lang.String... vpcSubnetIds)ProxyState.BuildervpcSubnetIds(java.util.List<java.lang.String> vpcSubnetIds)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ProxyState defaults)
-
-
Method Detail
-
arn
public ProxyState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN for the proxy.- Returns:
- builder
-
arn
public ProxyState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN for the proxy.- Returns:
- builder
-
auths
public ProxyState.Builder auths(@Nullable com.pulumi.core.Output<java.util.List<ProxyAuthArgs>> auths)
- Parameters:
auths- Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Required when `defaultAuthScheme` is `NONE` or unspecified. See the `auth` block below.- Returns:
- builder
-
auths
public ProxyState.Builder auths(java.util.List<ProxyAuthArgs> auths)
- Parameters:
auths- Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Required when `defaultAuthScheme` is `NONE` or unspecified. See the `auth` block below.- Returns:
- builder
-
auths
public ProxyState.Builder auths(ProxyAuthArgs... auths)
- Parameters:
auths- Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Required when `defaultAuthScheme` is `NONE` or unspecified. See the `auth` block below.- Returns:
- builder
-
debugLogging
public ProxyState.Builder debugLogging(@Nullable com.pulumi.core.Output<java.lang.Boolean> debugLogging)
- Parameters:
debugLogging- Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.- Returns:
- builder
-
debugLogging
public ProxyState.Builder debugLogging(java.lang.Boolean debugLogging)
- Parameters:
debugLogging- Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.- Returns:
- builder
-
defaultAuthScheme
public ProxyState.Builder defaultAuthScheme(@Nullable com.pulumi.core.Output<java.lang.String> defaultAuthScheme)
- Parameters:
defaultAuthScheme- Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are `NONE` and `IAM_AUTH`. Defaults to `NONE`.- Returns:
- builder
-
defaultAuthScheme
public ProxyState.Builder defaultAuthScheme(java.lang.String defaultAuthScheme)
- Parameters:
defaultAuthScheme- Default authentication scheme that the proxy uses for client connections to the proxy and connections from the proxy to the underlying database. Valid values are `NONE` and `IAM_AUTH`. Defaults to `NONE`.- Returns:
- builder
-
endpoint
public ProxyState.Builder endpoint(@Nullable com.pulumi.core.Output<java.lang.String> endpoint)
- Parameters:
endpoint- Endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.- Returns:
- builder
-
endpoint
public ProxyState.Builder endpoint(java.lang.String endpoint)
- Parameters:
endpoint- Endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.- Returns:
- builder
-
endpointNetworkType
public ProxyState.Builder endpointNetworkType(@Nullable com.pulumi.core.Output<java.lang.String> endpointNetworkType)
- Parameters:
endpointNetworkType- Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `targetConnectionNetworkType` must be `IPV6`.- Returns:
- builder
-
endpointNetworkType
public ProxyState.Builder endpointNetworkType(java.lang.String endpointNetworkType)
- Parameters:
endpointNetworkType- Network type of the DB proxy endpoint. Valid values are `IPV4`, `IPV6` and `DUAL`. Defaults to `IPV4`. If `IPV6` is specified, the subnets associated with the proxy must be IPv6-only, and `targetConnectionNetworkType` must be `IPV6`.- Returns:
- builder
-
engineFamily
public ProxyState.Builder engineFamily(@Nullable com.pulumi.core.Output<java.lang.String> engineFamily)
- Parameters:
engineFamily- Kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. Valid values are `MYSQL`, `POSTGRESQL`, and `SQLSERVER`.- Returns:
- builder
-
engineFamily
public ProxyState.Builder engineFamily(java.lang.String engineFamily)
- Parameters:
engineFamily- Kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify `MYSQL`. For Aurora PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`. For RDS for Microsoft SQL Server, specify `SQLSERVER`. Valid values are `MYSQL`, `POSTGRESQL`, and `SQLSERVER`.- Returns:
- builder
-
idleClientTimeout
public ProxyState.Builder idleClientTimeout(@Nullable com.pulumi.core.Output<java.lang.Integer> idleClientTimeout)
- Parameters:
idleClientTimeout- Number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.- Returns:
- builder
-
idleClientTimeout
public ProxyState.Builder idleClientTimeout(java.lang.Integer idleClientTimeout)
- Parameters:
idleClientTimeout- Number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.- Returns:
- builder
-
name
public ProxyState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.- Returns:
- builder
-
name
public ProxyState.Builder name(java.lang.String name)
- Parameters:
name- Identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.- Returns:
- builder
-
region
public ProxyState.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 ProxyState.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
-
requireTls
public ProxyState.Builder requireTls(@Nullable com.pulumi.core.Output<java.lang.Boolean> requireTls)
- Parameters:
requireTls- Whether TLS encryption is required for connections to the proxy. Enabling this setting enforces encrypted TLS connections to the proxy.- Returns:
- builder
-
requireTls
public ProxyState.Builder requireTls(java.lang.Boolean requireTls)
- Parameters:
requireTls- Whether TLS encryption is required for connections to the proxy. Enabling this setting enforces encrypted TLS connections to the proxy.- Returns:
- builder
-
roleArn
public ProxyState.Builder roleArn(@Nullable com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn- ARN of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.- Returns:
- builder
-
roleArn
public ProxyState.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn- ARN of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.- Returns:
- builder
-
tags
public ProxyState.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 ProxyState.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
-
tagsAll
public ProxyState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public ProxyState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
targetConnectionNetworkType
public ProxyState.Builder targetConnectionNetworkType(@Nullable com.pulumi.core.Output<java.lang.String> targetConnectionNetworkType)
- Parameters:
targetConnectionNetworkType- Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.- Returns:
- builder
-
targetConnectionNetworkType
public ProxyState.Builder targetConnectionNetworkType(java.lang.String targetConnectionNetworkType)
- Parameters:
targetConnectionNetworkType- Network type that the proxy uses to connect to the target database. Valid values are `IPV4` and `IPV6`. Defaults to `IPV4`.- Returns:
- builder
-
vpcSecurityGroupIds
public ProxyState.Builder vpcSecurityGroupIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- One or more VPC security group IDs to associate with the new proxy.- Returns:
- builder
-
vpcSecurityGroupIds
public ProxyState.Builder vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- One or more VPC security group IDs to associate with the new proxy.- Returns:
- builder
-
vpcSecurityGroupIds
public ProxyState.Builder vpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- One or more VPC security group IDs to associate with the new proxy.- Returns:
- builder
-
vpcSubnetIds
public ProxyState.Builder vpcSubnetIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSubnetIds)
- Parameters:
vpcSubnetIds- One or more VPC subnet IDs to associate with the new proxy.- Returns:
- builder
-
vpcSubnetIds
public ProxyState.Builder vpcSubnetIds(java.util.List<java.lang.String> vpcSubnetIds)
- Parameters:
vpcSubnetIds- One or more VPC subnet IDs to associate with the new proxy.- Returns:
- builder
-
vpcSubnetIds
public ProxyState.Builder vpcSubnetIds(java.lang.String... vpcSubnetIds)
- Parameters:
vpcSubnetIds- One or more VPC subnet IDs to associate with the new proxy.- Returns:
- builder
-
build
public ProxyState build()
-
-