Class ConnectionState.Builder

  • Enclosing class:
    ConnectionState

    public static final class ConnectionState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ConnectionState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Glue Connection.
        Returns:
        builder
      • arn

        public ConnectionState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Glue Connection.
        Returns:
        builder
      • athenaProperties

        public ConnectionState.Builder athenaProperties​(@Nullable
                                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> athenaProperties)
        Parameters:
        athenaProperties - Map of key-value pairs used as connection properties specific to the Athena compute environment.
        Returns:
        builder
      • athenaProperties

        public ConnectionState.Builder athenaProperties​(java.util.Map<java.lang.String,​java.lang.String> athenaProperties)
        Parameters:
        athenaProperties - Map of key-value pairs used as connection properties specific to the Athena compute environment.
        Returns:
        builder
      • authenticationConfiguration

        public ConnectionState.Builder authenticationConfiguration​(@Nullable
                                                                   com.pulumi.core.Output<ConnectionAuthenticationConfigurationArgs> authenticationConfiguration)
        Parameters:
        authenticationConfiguration - Configuration block for authentication options. See `authenticationConfiguration` below.
        Returns:
        builder
      • catalogId

        public ConnectionState.Builder catalogId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> catalogId)
        Parameters:
        catalogId - ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
        Returns:
        builder
      • catalogId

        public ConnectionState.Builder catalogId​(java.lang.String catalogId)
        Parameters:
        catalogId - ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
        Returns:
        builder
      • connectionProperties

        public ConnectionState.Builder connectionProperties​(@Nullable
                                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> connectionProperties)
        Parameters:
        connectionProperties - Map of key-value pairs used as parameters for this connection. For more information, see the [AWS Documentation](https://docs.aws.amazon.com/glue/latest/dg/connection-properties.html).
        Returns:
        builder
      • connectionProperties

        public ConnectionState.Builder connectionProperties​(java.util.Map<java.lang.String,​java.lang.String> connectionProperties)
        Parameters:
        connectionProperties - Map of key-value pairs used as parameters for this connection. For more information, see the [AWS Documentation](https://docs.aws.amazon.com/glue/latest/dg/connection-properties.html).
        Returns:
        builder
      • connectionType

        public ConnectionState.Builder connectionType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> connectionType)
        Parameters:
        connectionType - Type of the connection. Valid values: `AZURECOSMOS`, `AZURESQL`, `BIGQUERY`, `CUSTOM`, `DYNAMODB`, `JDBC`, `KAFKA`, `MARKETPLACE`, `MONGODB`, `NETWORK`, `OPENSEARCH`, `SNOWFLAKE`. Defaults to `JDBC`. Some connection types require the `SparkProperties` property with a JSON document that contains the actual connection properties. For specific examples, refer to Example Usage.
        Returns:
        builder
      • connectionType

        public ConnectionState.Builder connectionType​(java.lang.String connectionType)
        Parameters:
        connectionType - Type of the connection. Valid values: `AZURECOSMOS`, `AZURESQL`, `BIGQUERY`, `CUSTOM`, `DYNAMODB`, `JDBC`, `KAFKA`, `MARKETPLACE`, `MONGODB`, `NETWORK`, `OPENSEARCH`, `SNOWFLAKE`. Defaults to `JDBC`. Some connection types require the `SparkProperties` property with a JSON document that contains the actual connection properties. For specific examples, refer to Example Usage.
        Returns:
        builder
      • description

        public ConnectionState.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the connection.
        Returns:
        builder
      • description

        public ConnectionState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the connection.
        Returns:
        builder
      • matchCriterias

        public ConnectionState.Builder matchCriterias​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> matchCriterias)
        Parameters:
        matchCriterias - List of criteria that can be used in selecting this connection.
        Returns:
        builder
      • matchCriterias

        public ConnectionState.Builder matchCriterias​(java.util.List<java.lang.String> matchCriterias)
        Parameters:
        matchCriterias - List of criteria that can be used in selecting this connection.
        Returns:
        builder
      • matchCriterias

        public ConnectionState.Builder matchCriterias​(java.lang.String... matchCriterias)
        Parameters:
        matchCriterias - List of criteria that can be used in selecting this connection.
        Returns:
        builder
      • name

        public ConnectionState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the connection. The following arguments are optional:
        Returns:
        builder
      • name

        public ConnectionState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the connection. The following arguments are optional:
        Returns:
        builder
      • physicalConnectionRequirements

        public ConnectionState.Builder physicalConnectionRequirements​(@Nullable
                                                                      com.pulumi.core.Output<ConnectionPhysicalConnectionRequirementsArgs> physicalConnectionRequirements)
        Parameters:
        physicalConnectionRequirements - Map of physical connection requirements, such as VPC and SecurityGroup. See `physicalConnectionRequirements` below.
        Returns:
        builder
      • physicalConnectionRequirements

        public ConnectionState.Builder physicalConnectionRequirements​(ConnectionPhysicalConnectionRequirementsArgs physicalConnectionRequirements)
        Parameters:
        physicalConnectionRequirements - Map of physical connection requirements, such as VPC and SecurityGroup. See `physicalConnectionRequirements` below.
        Returns:
        builder
      • region

        public ConnectionState.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 ConnectionState.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
      • tags

        public ConnectionState.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. 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 ConnectionState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. 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 ConnectionState.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 ConnectionState.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