@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoreNetworkPolicyError extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about an error in a core network policy.
Constructor and Description |
---|
CoreNetworkPolicyError() |
Modifier and Type | Method and Description |
---|---|
CoreNetworkPolicyError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code associated with a core network policy error.
|
String |
getMessage()
The message associated with a core network policy error code.
|
String |
getPath()
The JSON path where the error was discovered in the policy document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code associated with a core network policy error.
|
void |
setMessage(String message)
The message associated with a core network policy error code.
|
void |
setPath(String path)
The JSON path where the error was discovered in the policy document.
|
String |
toString()
Returns a string representation of this object.
|
CoreNetworkPolicyError |
withErrorCode(String errorCode)
The error code associated with a core network policy error.
|
CoreNetworkPolicyError |
withMessage(String message)
The message associated with a core network policy error code.
|
CoreNetworkPolicyError |
withPath(String path)
The JSON path where the error was discovered in the policy document.
|
public void setErrorCode(String errorCode)
The error code associated with a core network policy error.
errorCode
- The error code associated with a core network policy error.public String getErrorCode()
The error code associated with a core network policy error.
public CoreNetworkPolicyError withErrorCode(String errorCode)
The error code associated with a core network policy error.
errorCode
- The error code associated with a core network policy error.public void setMessage(String message)
The message associated with a core network policy error code.
message
- The message associated with a core network policy error code.public String getMessage()
The message associated with a core network policy error code.
public CoreNetworkPolicyError withMessage(String message)
The message associated with a core network policy error code.
message
- The message associated with a core network policy error code.public void setPath(String path)
The JSON path where the error was discovered in the policy document.
path
- The JSON path where the error was discovered in the policy document.public String getPath()
The JSON path where the error was discovered in the policy document.
public CoreNetworkPolicyError withPath(String path)
The JSON path where the error was discovered in the policy document.
path
- The JSON path where the error was discovered in the policy document.public String toString()
toString
in class Object
Object.toString()
public CoreNetworkPolicyError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.