@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NaturalLanguageQueryGenerationOptionsInput extends Object implements Serializable, Cloneable, StructuredPojo
Container for parameters required to enable the natural language query generation feature.
Constructor and Description |
---|
NaturalLanguageQueryGenerationOptionsInput() |
Modifier and Type | Method and Description |
---|---|
NaturalLanguageQueryGenerationOptionsInput |
clone() |
boolean |
equals(Object obj) |
String |
getDesiredState()
The desired state of the natural language query generation feature.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDesiredState(String desiredState)
The desired state of the natural language query generation feature.
|
String |
toString()
Returns a string representation of this object.
|
NaturalLanguageQueryGenerationOptionsInput |
withDesiredState(NaturalLanguageQueryGenerationDesiredState desiredState)
The desired state of the natural language query generation feature.
|
NaturalLanguageQueryGenerationOptionsInput |
withDesiredState(String desiredState)
The desired state of the natural language query generation feature.
|
public NaturalLanguageQueryGenerationOptionsInput()
public void setDesiredState(String desiredState)
The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.
desiredState
- The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.NaturalLanguageQueryGenerationDesiredState
public String getDesiredState()
The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.
NaturalLanguageQueryGenerationDesiredState
public NaturalLanguageQueryGenerationOptionsInput withDesiredState(String desiredState)
The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.
desiredState
- The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.NaturalLanguageQueryGenerationDesiredState
public NaturalLanguageQueryGenerationOptionsInput withDesiredState(NaturalLanguageQueryGenerationDesiredState desiredState)
The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.
desiredState
- The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.NaturalLanguageQueryGenerationDesiredState
public String toString()
toString
in class Object
Object.toString()
public NaturalLanguageQueryGenerationOptionsInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.