@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportResourceSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the bot or bot locale that you want to import. You can sepcifiy the
botImportSpecification
or the botLocaleImportSpecification
, but not both.
Constructor and Description |
---|
ImportResourceSpecification() |
Modifier and Type | Method and Description |
---|---|
ImportResourceSpecification |
clone() |
boolean |
equals(Object obj) |
BotImportSpecification |
getBotImportSpecification()
Parameters for importing a bot.
|
BotLocaleImportSpecification |
getBotLocaleImportSpecification()
Parameters for importing a bot locale.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotImportSpecification(BotImportSpecification botImportSpecification)
Parameters for importing a bot.
|
void |
setBotLocaleImportSpecification(BotLocaleImportSpecification botLocaleImportSpecification)
Parameters for importing a bot locale.
|
String |
toString()
Returns a string representation of this object.
|
ImportResourceSpecification |
withBotImportSpecification(BotImportSpecification botImportSpecification)
Parameters for importing a bot.
|
ImportResourceSpecification |
withBotLocaleImportSpecification(BotLocaleImportSpecification botLocaleImportSpecification)
Parameters for importing a bot locale.
|
public void setBotImportSpecification(BotImportSpecification botImportSpecification)
Parameters for importing a bot.
botImportSpecification
- Parameters for importing a bot.public BotImportSpecification getBotImportSpecification()
Parameters for importing a bot.
public ImportResourceSpecification withBotImportSpecification(BotImportSpecification botImportSpecification)
Parameters for importing a bot.
botImportSpecification
- Parameters for importing a bot.public void setBotLocaleImportSpecification(BotLocaleImportSpecification botLocaleImportSpecification)
Parameters for importing a bot locale.
botLocaleImportSpecification
- Parameters for importing a bot locale.public BotLocaleImportSpecification getBotLocaleImportSpecification()
Parameters for importing a bot locale.
public ImportResourceSpecification withBotLocaleImportSpecification(BotLocaleImportSpecification botLocaleImportSpecification)
Parameters for importing a bot locale.
botLocaleImportSpecification
- Parameters for importing a bot locale.public String toString()
toString
in class Object
Object.toString()
public ImportResourceSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.