@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.VpcEndpointErrorCode
public String getErrorCode()
The code associated with the error.
VpcEndpointErrorCode
public VpcEndpointError withErrorCode(String errorCode)
The code associated with the error.
errorCode
- The code associated with the error.VpcEndpointErrorCode
public VpcEndpointError withErrorCode(VpcEndpointErrorCode errorCode)
The code associated with the error.
errorCode
- The code associated with the error.VpcEndpointErrorCode
public 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 Object
Object.toString()
public VpcEndpointError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.