@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MigrationAlert extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about alerts and warnings that Amazon Lex sends during a migration. The alerts include information about how to resolve the issue.
Constructor and Description |
---|
MigrationAlert() |
Modifier and Type | Method and Description |
---|---|
MigrationAlert |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDetails()
Additional details about the alert.
|
String |
getMessage()
A message that describes why the alert was issued.
|
List<String> |
getReferenceURLs()
A link to the Amazon Lex documentation that describes how to resolve the alert.
|
String |
getType()
The type of alert.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetails(Collection<String> details)
Additional details about the alert.
|
void |
setMessage(String message)
A message that describes why the alert was issued.
|
void |
setReferenceURLs(Collection<String> referenceURLs)
A link to the Amazon Lex documentation that describes how to resolve the alert.
|
void |
setType(String type)
The type of alert.
|
String |
toString()
Returns a string representation of this object.
|
MigrationAlert |
withDetails(Collection<String> details)
Additional details about the alert.
|
MigrationAlert |
withDetails(String... details)
Additional details about the alert.
|
MigrationAlert |
withMessage(String message)
A message that describes why the alert was issued.
|
MigrationAlert |
withReferenceURLs(Collection<String> referenceURLs)
A link to the Amazon Lex documentation that describes how to resolve the alert.
|
MigrationAlert |
withReferenceURLs(String... referenceURLs)
A link to the Amazon Lex documentation that describes how to resolve the alert.
|
MigrationAlert |
withType(MigrationAlertType type)
The type of alert.
|
MigrationAlert |
withType(String type)
The type of alert.
|
public void setType(String type)
The type of alert. There are two kinds of alerts:
ERROR
- There was an issue with the migration that can't be resolved. The migration stops.
WARN
- There was an issue with the migration that requires manual changes to the new Amazon Lex V2
bot. The migration continues.
type
- The type of alert. There are two kinds of alerts:
ERROR
- There was an issue with the migration that can't be resolved. The migration stops.
WARN
- There was an issue with the migration that requires manual changes to the new Amazon
Lex V2 bot. The migration continues.
MigrationAlertType
public String getType()
The type of alert. There are two kinds of alerts:
ERROR
- There was an issue with the migration that can't be resolved. The migration stops.
WARN
- There was an issue with the migration that requires manual changes to the new Amazon Lex V2
bot. The migration continues.
ERROR
- There was an issue with the migration that can't be resolved. The migration stops.
WARN
- There was an issue with the migration that requires manual changes to the new Amazon
Lex V2 bot. The migration continues.
MigrationAlertType
public MigrationAlert withType(String type)
The type of alert. There are two kinds of alerts:
ERROR
- There was an issue with the migration that can't be resolved. The migration stops.
WARN
- There was an issue with the migration that requires manual changes to the new Amazon Lex V2
bot. The migration continues.
type
- The type of alert. There are two kinds of alerts:
ERROR
- There was an issue with the migration that can't be resolved. The migration stops.
WARN
- There was an issue with the migration that requires manual changes to the new Amazon
Lex V2 bot. The migration continues.
MigrationAlertType
public MigrationAlert withType(MigrationAlertType type)
The type of alert. There are two kinds of alerts:
ERROR
- There was an issue with the migration that can't be resolved. The migration stops.
WARN
- There was an issue with the migration that requires manual changes to the new Amazon Lex V2
bot. The migration continues.
type
- The type of alert. There are two kinds of alerts:
ERROR
- There was an issue with the migration that can't be resolved. The migration stops.
WARN
- There was an issue with the migration that requires manual changes to the new Amazon
Lex V2 bot. The migration continues.
MigrationAlertType
public void setMessage(String message)
A message that describes why the alert was issued.
message
- A message that describes why the alert was issued.public String getMessage()
A message that describes why the alert was issued.
public MigrationAlert withMessage(String message)
A message that describes why the alert was issued.
message
- A message that describes why the alert was issued.public List<String> getDetails()
Additional details about the alert.
public void setDetails(Collection<String> details)
Additional details about the alert.
details
- Additional details about the alert.public MigrationAlert withDetails(String... details)
Additional details about the alert.
NOTE: This method appends the values to the existing list (if any). Use
setDetails(java.util.Collection)
or withDetails(java.util.Collection)
if you want to override
the existing values.
details
- Additional details about the alert.public MigrationAlert withDetails(Collection<String> details)
Additional details about the alert.
details
- Additional details about the alert.public List<String> getReferenceURLs()
A link to the Amazon Lex documentation that describes how to resolve the alert.
public void setReferenceURLs(Collection<String> referenceURLs)
A link to the Amazon Lex documentation that describes how to resolve the alert.
referenceURLs
- A link to the Amazon Lex documentation that describes how to resolve the alert.public MigrationAlert withReferenceURLs(String... referenceURLs)
A link to the Amazon Lex documentation that describes how to resolve the alert.
NOTE: This method appends the values to the existing list (if any). Use
setReferenceURLs(java.util.Collection)
or withReferenceURLs(java.util.Collection)
if you want
to override the existing values.
referenceURLs
- A link to the Amazon Lex documentation that describes how to resolve the alert.public MigrationAlert withReferenceURLs(Collection<String> referenceURLs)
A link to the Amazon Lex documentation that describes how to resolve the alert.
referenceURLs
- A link to the Amazon Lex documentation that describes how to resolve the alert.public String toString()
toString
in class Object
Object.toString()
public MigrationAlert clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.