Class TableState.Builder

  • Enclosing class:
    TableState

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

      • Builder

        public Builder()
      • Builder

        public Builder​(TableState defaults)
    • Method Detail

      • arn

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

        public TableState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the table.
        Returns:
        builder
      • capacitySpecification

        public TableState.Builder capacitySpecification​(@Nullable
                                                        com.pulumi.core.Output<TableCapacitySpecificationArgs> capacitySpecification)
        Parameters:
        capacitySpecification - Specifies the read/write throughput capacity mode for the table.
        Returns:
        builder
      • capacitySpecification

        public TableState.Builder capacitySpecification​(TableCapacitySpecificationArgs capacitySpecification)
        Parameters:
        capacitySpecification - Specifies the read/write throughput capacity mode for the table.
        Returns:
        builder
      • clientSideTimestamps

        public TableState.Builder clientSideTimestamps​(@Nullable
                                                       com.pulumi.core.Output<TableClientSideTimestampsArgs> clientSideTimestamps)
        Parameters:
        clientSideTimestamps - Enables client-side timestamps for the table. By default, the setting is disabled.
        Returns:
        builder
      • clientSideTimestamps

        public TableState.Builder clientSideTimestamps​(TableClientSideTimestampsArgs clientSideTimestamps)
        Parameters:
        clientSideTimestamps - Enables client-side timestamps for the table. By default, the setting is disabled.
        Returns:
        builder
      • comment

        public TableState.Builder comment​(@Nullable
                                          com.pulumi.core.Output<TableCommentArgs> comment)
        Parameters:
        comment - A description of the table.
        Returns:
        builder
      • defaultTimeToLive

        public TableState.Builder defaultTimeToLive​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> defaultTimeToLive)
        Parameters:
        defaultTimeToLive - The default Time to Live setting in seconds for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl).
        Returns:
        builder
      • defaultTimeToLive

        public TableState.Builder defaultTimeToLive​(java.lang.Integer defaultTimeToLive)
        Parameters:
        defaultTimeToLive - The default Time to Live setting in seconds for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl).
        Returns:
        builder
      • encryptionSpecification

        public TableState.Builder encryptionSpecification​(@Nullable
                                                          com.pulumi.core.Output<TableEncryptionSpecificationArgs> encryptionSpecification)
        Parameters:
        encryptionSpecification - Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html).
        Returns:
        builder
      • encryptionSpecification

        public TableState.Builder encryptionSpecification​(TableEncryptionSpecificationArgs encryptionSpecification)
        Parameters:
        encryptionSpecification - Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html).
        Returns:
        builder
      • keyspaceName

        public TableState.Builder keyspaceName​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> keyspaceName)
        Parameters:
        keyspaceName - The name of the keyspace that the table is going to be created in.
        Returns:
        builder
      • keyspaceName

        public TableState.Builder keyspaceName​(java.lang.String keyspaceName)
        Parameters:
        keyspaceName - The name of the keyspace that the table is going to be created in.
        Returns:
        builder
      • pointInTimeRecovery

        public TableState.Builder pointInTimeRecovery​(@Nullable
                                                      com.pulumi.core.Output<TablePointInTimeRecoveryArgs> pointInTimeRecovery)
        Parameters:
        pointInTimeRecovery - Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html).
        Returns:
        builder
      • pointInTimeRecovery

        public TableState.Builder pointInTimeRecovery​(TablePointInTimeRecoveryArgs pointInTimeRecovery)
        Parameters:
        pointInTimeRecovery - Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html).
        Returns:
        builder
      • schemaDefinition

        public TableState.Builder schemaDefinition​(@Nullable
                                                   com.pulumi.core.Output<TableSchemaDefinitionArgs> schemaDefinition)
        Parameters:
        schemaDefinition - Describes the schema of the table.
        Returns:
        builder
      • tableName

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

        public TableState.Builder tableName​(java.lang.String tableName)
        Parameters:
        tableName - The name of the table. The following arguments are optional:
        Returns:
        builder
      • tags

        public TableState.Builder tags​(@Nullable
                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map 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 TableState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map 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 TableState.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 TableState.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
      • ttl

        public TableState.Builder ttl​(@Nullable
                                      com.pulumi.core.Output<TableTtlArgs> ttl)
        Parameters:
        ttl - Enables Time to Live custom settings for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html).
        Returns:
        builder
      • ttl

        public TableState.Builder ttl​(TableTtlArgs ttl)
        Parameters:
        ttl - Enables Time to Live custom settings for the table. More information can be found in the [Developer Guide](https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html).
        Returns:
        builder