@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletionWarning extends Object implements Serializable, Cloneable, StructuredPojo
A configuration ID paired with a warning message.
Constructor and Description |
---|
DeletionWarning() |
Modifier and Type | Method and Description |
---|---|
DeletionWarning |
clone() |
boolean |
equals(Object obj) |
String |
getConfigurationId()
The unique identifier of the configuration that produced a warning.
|
Integer |
getWarningCode()
The integer warning code associated with the warning message.
|
String |
getWarningText()
A descriptive message of the warning the associated configuration ID produced.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfigurationId(String configurationId)
The unique identifier of the configuration that produced a warning.
|
void |
setWarningCode(Integer warningCode)
The integer warning code associated with the warning message.
|
void |
setWarningText(String warningText)
A descriptive message of the warning the associated configuration ID produced.
|
String |
toString()
Returns a string representation of this object.
|
DeletionWarning |
withConfigurationId(String configurationId)
The unique identifier of the configuration that produced a warning.
|
DeletionWarning |
withWarningCode(Integer warningCode)
The integer warning code associated with the warning message.
|
DeletionWarning |
withWarningText(String warningText)
A descriptive message of the warning the associated configuration ID produced.
|
public void setConfigurationId(String configurationId)
The unique identifier of the configuration that produced a warning.
configurationId
- The unique identifier of the configuration that produced a warning.public String getConfigurationId()
The unique identifier of the configuration that produced a warning.
public DeletionWarning withConfigurationId(String configurationId)
The unique identifier of the configuration that produced a warning.
configurationId
- The unique identifier of the configuration that produced a warning.public void setWarningCode(Integer warningCode)
The integer warning code associated with the warning message.
warningCode
- The integer warning code associated with the warning message.public Integer getWarningCode()
The integer warning code associated with the warning message.
public DeletionWarning withWarningCode(Integer warningCode)
The integer warning code associated with the warning message.
warningCode
- The integer warning code associated with the warning message.public void setWarningText(String warningText)
A descriptive message of the warning the associated configuration ID produced.
warningText
- A descriptive message of the warning the associated configuration ID produced.public String getWarningText()
A descriptive message of the warning the associated configuration ID produced.
public DeletionWarning withWarningText(String warningText)
A descriptive message of the warning the associated configuration ID produced.
warningText
- A descriptive message of the warning the associated configuration ID produced.public String toString()
toString
in class Object
Object.toString()
public DeletionWarning clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.