@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcEndpointError extends Object implements Serializable, Cloneable, StructuredPojo
Error information when attempting to describe an Amazon OpenSearch Service-managed VPC endpoint.
| Constructor and Description |
|---|
VpcEndpointError() |
| Modifier and Type | Method and Description |
|---|---|
VpcEndpointError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The code associated with the error.
|
String |
getErrorMessage()
A message describing the error.
|
String |
getVpcEndpointId()
The unique identifier of the endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
The code associated with the error.
|
void |
setErrorMessage(String errorMessage)
A message describing the error.
|
void |
setVpcEndpointId(String vpcEndpointId)
The unique identifier of the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
VpcEndpointError |
withErrorCode(String errorCode)
The code associated with the error.
|
VpcEndpointError |
withErrorCode(VpcEndpointErrorCode errorCode)
The code associated with the error.
|
VpcEndpointError |
withErrorMessage(String errorMessage)
A message describing the error.
|
VpcEndpointError |
withVpcEndpointId(String vpcEndpointId)
The unique identifier of the endpoint.
|
public void setVpcEndpointId(String vpcEndpointId)
The unique identifier of the endpoint.
vpcEndpointId - The unique identifier of the endpoint.public String getVpcEndpointId()
The unique identifier of the endpoint.
public VpcEndpointError withVpcEndpointId(String vpcEndpointId)
The unique identifier of the endpoint.
vpcEndpointId - The unique identifier of the endpoint.public void setErrorCode(String errorCode)
The code associated with the error.
errorCode - The code associated with the error.VpcEndpointErrorCodepublic String getErrorCode()
The code associated with the error.
VpcEndpointErrorCodepublic VpcEndpointError withErrorCode(String errorCode)
The code associated with the error.
errorCode - The code associated with the error.VpcEndpointErrorCodepublic VpcEndpointError withErrorCode(VpcEndpointErrorCode errorCode)
The code associated with the error.
errorCode - The code associated with the error.VpcEndpointErrorCodepublic void setErrorMessage(String errorMessage)
A message describing the error.
errorMessage - A message describing the error.public String getErrorMessage()
A message describing the error.
public VpcEndpointError withErrorMessage(String errorMessage)
A message describing the error.
errorMessage - A message describing the error.public String toString()
toString in class ObjectObject.toString()public VpcEndpointError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.