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 Deprecated Methods Modifier and Type Method Description ProxyState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
ProxyState.Builder
arn(java.lang.String arn)
ProxyState.Builder
auths(ProxyAuthArgs... auths)
ProxyState.Builder
auths(com.pulumi.core.Output<java.util.List<ProxyAuthArgs>> auths)
ProxyState.Builder
auths(java.util.List<ProxyAuthArgs> auths)
ProxyState
build()
ProxyState.Builder
debugLogging(com.pulumi.core.Output<java.lang.Boolean> debugLogging)
ProxyState.Builder
debugLogging(java.lang.Boolean debugLogging)
ProxyState.Builder
endpoint(com.pulumi.core.Output<java.lang.String> endpoint)
ProxyState.Builder
endpoint(java.lang.String endpoint)
ProxyState.Builder
engineFamily(com.pulumi.core.Output<java.lang.String> engineFamily)
ProxyState.Builder
engineFamily(java.lang.String engineFamily)
ProxyState.Builder
idleClientTimeout(com.pulumi.core.Output<java.lang.Integer> idleClientTimeout)
ProxyState.Builder
idleClientTimeout(java.lang.Integer idleClientTimeout)
ProxyState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
ProxyState.Builder
name(java.lang.String name)
ProxyState.Builder
requireTls(com.pulumi.core.Output<java.lang.Boolean> requireTls)
ProxyState.Builder
requireTls(java.lang.Boolean requireTls)
ProxyState.Builder
roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
ProxyState.Builder
roleArn(java.lang.String roleArn)
ProxyState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
ProxyState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
ProxyState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.ProxyState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.ProxyState.Builder
vpcSecurityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
ProxyState.Builder
vpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)
ProxyState.Builder
vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
ProxyState.Builder
vpcSubnetIds(com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSubnetIds)
ProxyState.Builder
vpcSubnetIds(java.lang.String... vpcSubnetIds)
ProxyState.Builder
vpcSubnetIds(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
- The Amazon Resource Name (ARN) for the proxy.- Returns:
- builder
-
arn
public ProxyState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The Amazon Resource Name (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. Described 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. Described 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. Described 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
-
endpoint
public ProxyState.Builder endpoint(@Nullable com.pulumi.core.Output<java.lang.String> endpoint)
- Parameters:
endpoint
- The 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
- The 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
-
engineFamily
public ProxyState.Builder engineFamily(@Nullable com.pulumi.core.Output<java.lang.String> engineFamily)
- Parameters:
engineFamily
- The 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
- The 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
- The 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
- The 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
- The 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
- The 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
-
requireTls
public ProxyState.Builder requireTls(@Nullable com.pulumi.core.Output<java.lang.Boolean> requireTls)
- Parameters:
requireTls
- A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.- Returns:
- builder
-
requireTls
public ProxyState.Builder requireTls(java.lang.Boolean requireTls)
- Parameters:
requireTls
- A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.- Returns:
- builder
-
roleArn
public ProxyState.Builder roleArn(@Nullable com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn
- The Amazon Resource Name (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
- The Amazon Resource Name (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
- A mapping of tags to assign to the resource. If configured with a provider `default_tags` 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
- A mapping of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public ProxyState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public ProxyState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- 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()
-
-