JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.timestreamwrite.model

Class PartitionKey

    • Constructor Detail

      • PartitionKey

        public PartitionKey()
    • Method Detail

      • setType

        public void setType(String type)

        The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).

        Parameters:
        type - The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
        See Also:
        PartitionKeyType
      • getType

        public String getType()

        The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).

        Returns:
        The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
        See Also:
        PartitionKeyType
      • withType

        public PartitionKey withType(String type)

        The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).

        Parameters:
        type - The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PartitionKeyType
      • withType

        public PartitionKey withType(PartitionKeyType type)

        The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).

        Parameters:
        type - The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PartitionKeyType
      • setName

        public void setName(String name)

        The name of the attribute used for a dimension key.

        Parameters:
        name - The name of the attribute used for a dimension key.
      • getName

        public String getName()

        The name of the attribute used for a dimension key.

        Returns:
        The name of the attribute used for a dimension key.
      • withName

        public PartitionKey withName(String name)

        The name of the attribute used for a dimension key.

        Parameters:
        name - The name of the attribute used for a dimension key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEnforcementInRecord

        public void setEnforcementInRecord(String enforcementInRecord)

        The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

        Parameters:
        enforcementInRecord - The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
        See Also:
        PartitionKeyEnforcementLevel
      • getEnforcementInRecord

        public String getEnforcementInRecord()

        The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

        Returns:
        The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
        See Also:
        PartitionKeyEnforcementLevel
      • withEnforcementInRecord

        public PartitionKey withEnforcementInRecord(String enforcementInRecord)

        The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

        Parameters:
        enforcementInRecord - The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PartitionKeyEnforcementLevel
      • withEnforcementInRecord

        public PartitionKey withEnforcementInRecord(PartitionKeyEnforcementLevel enforcementInRecord)

        The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

        Parameters:
        enforcementInRecord - The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PartitionKeyEnforcementLevel
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /