JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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.redshift.model

Class CreateUsageLimitResult

    • Constructor Detail

      • CreateUsageLimitResult

        public CreateUsageLimitResult()
    • Method Detail

      • setUsageLimitId

        public void setUsageLimitId(String usageLimitId)

        The identifier of the usage limit.

        Parameters:
        usageLimitId - The identifier of the usage limit.
      • getUsageLimitId

        public String getUsageLimitId()

        The identifier of the usage limit.

        Returns:
        The identifier of the usage limit.
      • withUsageLimitId

        public CreateUsageLimitResult withUsageLimitId(String usageLimitId)

        The identifier of the usage limit.

        Parameters:
        usageLimitId - The identifier of the usage limit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setClusterIdentifier

        public void setClusterIdentifier(String clusterIdentifier)

        The identifier of the cluster with a usage limit.

        Parameters:
        clusterIdentifier - The identifier of the cluster with a usage limit.
      • getClusterIdentifier

        public String getClusterIdentifier()

        The identifier of the cluster with a usage limit.

        Returns:
        The identifier of the cluster with a usage limit.
      • withClusterIdentifier

        public CreateUsageLimitResult withClusterIdentifier(String clusterIdentifier)

        The identifier of the cluster with a usage limit.

        Parameters:
        clusterIdentifier - The identifier of the cluster with a usage limit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFeatureType

        public void setFeatureType(String featureType)

        The Amazon Redshift feature to which the limit applies.

        Parameters:
        featureType - The Amazon Redshift feature to which the limit applies.
        See Also:
        UsageLimitFeatureType
      • getFeatureType

        public String getFeatureType()

        The Amazon Redshift feature to which the limit applies.

        Returns:
        The Amazon Redshift feature to which the limit applies.
        See Also:
        UsageLimitFeatureType
      • withFeatureType

        public CreateUsageLimitResult withFeatureType(String featureType)

        The Amazon Redshift feature to which the limit applies.

        Parameters:
        featureType - The Amazon Redshift feature to which the limit applies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageLimitFeatureType
      • withFeatureType

        public CreateUsageLimitResult withFeatureType(UsageLimitFeatureType featureType)

        The Amazon Redshift feature to which the limit applies.

        Parameters:
        featureType - The Amazon Redshift feature to which the limit applies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageLimitFeatureType
      • setLimitType

        public void setLimitType(String limitType)

        The type of limit. Depending on the feature type, this can be based on a time duration or data size.

        Parameters:
        limitType - The type of limit. Depending on the feature type, this can be based on a time duration or data size.
        See Also:
        UsageLimitLimitType
      • getLimitType

        public String getLimitType()

        The type of limit. Depending on the feature type, this can be based on a time duration or data size.

        Returns:
        The type of limit. Depending on the feature type, this can be based on a time duration or data size.
        See Also:
        UsageLimitLimitType
      • withLimitType

        public CreateUsageLimitResult withLimitType(String limitType)

        The type of limit. Depending on the feature type, this can be based on a time duration or data size.

        Parameters:
        limitType - The type of limit. Depending on the feature type, this can be based on a time duration or data size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageLimitLimitType
      • withLimitType

        public CreateUsageLimitResult withLimitType(UsageLimitLimitType limitType)

        The type of limit. Depending on the feature type, this can be based on a time duration or data size.

        Parameters:
        limitType - The type of limit. Depending on the feature type, this can be based on a time duration or data size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageLimitLimitType
      • setAmount

        public void setAmount(Long amount)

        The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

        Parameters:
        amount - The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
      • getAmount

        public Long getAmount()

        The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

        Returns:
        The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
      • withAmount

        public CreateUsageLimitResult withAmount(Long amount)

        The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

        Parameters:
        amount - The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPeriod

        public void setPeriod(String period)

        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

        Parameters:
        period - The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
        See Also:
        UsageLimitPeriod
      • getPeriod

        public String getPeriod()

        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

        Returns:
        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
        See Also:
        UsageLimitPeriod
      • withPeriod

        public CreateUsageLimitResult withPeriod(String period)

        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

        Parameters:
        period - The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageLimitPeriod
      • withPeriod

        public CreateUsageLimitResult withPeriod(UsageLimitPeriod period)

        The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

        Parameters:
        period - The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageLimitPeriod
      • setBreachAction

        public void setBreachAction(String breachAction)

        The action that Amazon Redshift takes when the limit is reached. Possible values are:

        • log - To log an event in a system table. The default is log.

        • emit-metric - To emit CloudWatch metrics.

        • disable - To disable the feature until the next usage period begins.

        Parameters:
        breachAction - The action that Amazon Redshift takes when the limit is reached. Possible values are:

        • log - To log an event in a system table. The default is log.

        • emit-metric - To emit CloudWatch metrics.

        • disable - To disable the feature until the next usage period begins.

        See Also:
        UsageLimitBreachAction
      • getBreachAction

        public String getBreachAction()

        The action that Amazon Redshift takes when the limit is reached. Possible values are:

        • log - To log an event in a system table. The default is log.

        • emit-metric - To emit CloudWatch metrics.

        • disable - To disable the feature until the next usage period begins.

        Returns:
        The action that Amazon Redshift takes when the limit is reached. Possible values are:

        • log - To log an event in a system table. The default is log.

        • emit-metric - To emit CloudWatch metrics.

        • disable - To disable the feature until the next usage period begins.

        See Also:
        UsageLimitBreachAction
      • withBreachAction

        public CreateUsageLimitResult withBreachAction(String breachAction)

        The action that Amazon Redshift takes when the limit is reached. Possible values are:

        • log - To log an event in a system table. The default is log.

        • emit-metric - To emit CloudWatch metrics.

        • disable - To disable the feature until the next usage period begins.

        Parameters:
        breachAction - The action that Amazon Redshift takes when the limit is reached. Possible values are:

        • log - To log an event in a system table. The default is log.

        • emit-metric - To emit CloudWatch metrics.

        • disable - To disable the feature until the next usage period begins.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageLimitBreachAction
      • withBreachAction

        public CreateUsageLimitResult withBreachAction(UsageLimitBreachAction breachAction)

        The action that Amazon Redshift takes when the limit is reached. Possible values are:

        • log - To log an event in a system table. The default is log.

        • emit-metric - To emit CloudWatch metrics.

        • disable - To disable the feature until the next usage period begins.

        Parameters:
        breachAction - The action that Amazon Redshift takes when the limit is reached. Possible values are:

        • log - To log an event in a system table. The default is log.

        • emit-metric - To emit CloudWatch metrics.

        • disable - To disable the feature until the next usage period begins.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UsageLimitBreachAction
      • getTags

        public List<Tag> getTags()

        A list of tag instances.

        Returns:
        A list of tag instances.
      • setTags

        public void setTags(Collection<Tag> tags)

        A list of tag instances.

        Parameters:
        tags - A list of tag instances.
      • withTags

        public CreateUsageLimitResult withTags(Collection<Tag> tags)

        A list of tag instances.

        Parameters:
        tags - A list of tag instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 によって変換されたページ (->オリジナル) /