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

Class CreateIntentVersionRequest

    • Constructor Detail

      • CreateIntentVersionRequest

        public CreateIntentVersionRequest()
    • Method Detail

      • setName

        public void setName(String name)

        The name of the intent that you want to create a new version of. The name is case sensitive.

        Parameters:
        name - The name of the intent that you want to create a new version of. The name is case sensitive.
      • getName

        public String getName()

        The name of the intent that you want to create a new version of. The name is case sensitive.

        Returns:
        The name of the intent that you want to create a new version of. The name is case sensitive.
      • withName

        public CreateIntentVersionRequest withName(String name)

        The name of the intent that you want to create a new version of. The name is case sensitive.

        Parameters:
        name - The name of the intent that you want to create a new version of. The name is case sensitive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setChecksum

        public void setChecksum(String checksum)

        Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.

        Parameters:
        checksum - Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.
      • getChecksum

        public String getChecksum()

        Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.

        Returns:
        Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.
      • withChecksum

        public CreateIntentVersionRequest withChecksum(String checksum)

        Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.

        Parameters:
        checksum - Checksum of the $LATEST version of the intent that should be used to create the new version. If you specify a checksum and the $LATEST version of the intent has a different checksum, Amazon Lex returns a PreconditionFailedException exception and doesn't publish a new version. If you don't specify a checksum, Amazon Lex publishes the $LATEST version.
        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 によって変換されたページ (->オリジナル) /