public class Warning
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Warning() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getErrorCode()
Returns the value of the errorCode property for this object.
|
java.lang.String |
getMessage()
Returns the value of the message property for this object.
|
java.util.List<Section> |
getSections()
Returns the value of the sections property for this object.
|
int |
hashCode() |
void |
setErrorCode(java.lang.String errorCode)
Sets the value of errorCode
|
void |
setMessage(java.lang.String message)
Sets the value of message
|
void |
setSections(java.util.Collection<Section> sections)
Sets the value of sections
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Warning |
withErrorCode(java.lang.String errorCode)
Sets the value of the errorCode property for this object.
|
Warning |
withMessage(java.lang.String message)
Sets the value of the message property for this object.
|
Warning |
withSections(java.util.Collection<Section> sections)
Sets the value of the sections property for this object.
|
Warning |
withSections(Section... sections)
Sets the value of the sections property for this object.
|
public java.lang.String getErrorCode()
public void setErrorCode(java.lang.String errorCode)
errorCode
- The new value for the errorCode property for this
object.public Warning withErrorCode(java.lang.String errorCode)
Returns a reference to this object so that method calls can be chained together.
errorCode
- The new value for the errorCode property for this
object.public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The new value for the message property for this object.public Warning withMessage(java.lang.String message)
Returns a reference to this object so that method calls can be chained together.
message
- The new value for the message property for this object.public java.util.List<Section> getSections()
public void setSections(java.util.Collection<Section> sections)
sections
- The new value for the sections property for this object.public Warning withSections(Section... sections)
Returns a reference to this object so that method calls can be chained together.
sections
- The new value for the sections property for this object.public Warning withSections(java.util.Collection<Section> sections)
Returns a reference to this object so that method calls can be chained together.
sections
- The new value for the sections property for this object.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.