@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcEndpointErrorDetail extends Object implements Serializable, Cloneable, StructuredPojo
Error information for a failed BatchGetVpcEndpoint
request.
Constructor and Description |
---|
VpcEndpointErrorDetail() |
Modifier and Type | Method and Description |
---|---|
VpcEndpointErrorDetail |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code for the failed request.
|
String |
getErrorMessage()
An error message describing the reason for the failure.
|
String |
getId()
The unique identifier of the VPC endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code for the failed request.
|
void |
setErrorMessage(String errorMessage)
An error message describing the reason for the failure.
|
void |
setId(String id)
The unique identifier of the VPC endpoint.
|
String |
toString()
Returns a string representation of this object.
|
VpcEndpointErrorDetail |
withErrorCode(String errorCode)
The error code for the failed request.
|
VpcEndpointErrorDetail |
withErrorMessage(String errorMessage)
An error message describing the reason for the failure.
|
VpcEndpointErrorDetail |
withId(String id)
The unique identifier of the VPC endpoint.
|
public void setErrorCode(String errorCode)
The error code for the failed request.
errorCode
- The error code for the failed request.public String getErrorCode()
The error code for the failed request.
public VpcEndpointErrorDetail withErrorCode(String errorCode)
The error code for the failed request.
errorCode
- The error code for the failed request.public void setErrorMessage(String errorMessage)
An error message describing the reason for the failure.
errorMessage
- An error message describing the reason for the failure.public String getErrorMessage()
An error message describing the reason for the failure.
public VpcEndpointErrorDetail withErrorMessage(String errorMessage)
An error message describing the reason for the failure.
errorMessage
- An error message describing the reason for the failure.public void setId(String id)
The unique identifier of the VPC endpoint.
id
- The unique identifier of the VPC endpoint.public String getId()
The unique identifier of the VPC endpoint.
public VpcEndpointErrorDetail withId(String id)
The unique identifier of the VPC endpoint.
id
- The unique identifier of the VPC endpoint.public String toString()
toString
in class Object
Object.toString()
public VpcEndpointErrorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.