@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The metadata of the endpoint.
Constructor and Description |
---|
EndpointMetadata() |
Modifier and Type | Method and Description |
---|---|
EndpointMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointConfigName()
The name of the endpoint configuration.
|
String |
getEndpointName()
The name of the endpoint.
|
String |
getEndpointStatus()
The status of the endpoint.
|
String |
getFailureReason()
If the status of the endpoint is
Failed , or the status is InService but update
operation fails, this provides the reason why it failed. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration.
|
void |
setEndpointName(String endpointName)
The name of the endpoint.
|
void |
setEndpointStatus(String endpointStatus)
The status of the endpoint.
|
void |
setFailureReason(String failureReason)
If the status of the endpoint is
Failed , or the status is InService but update
operation fails, this provides the reason why it failed. |
String |
toString()
Returns a string representation of this object.
|
EndpointMetadata |
withEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration.
|
EndpointMetadata |
withEndpointName(String endpointName)
The name of the endpoint.
|
EndpointMetadata |
withEndpointStatus(EndpointStatus endpointStatus)
The status of the endpoint.
|
EndpointMetadata |
withEndpointStatus(String endpointStatus)
The status of the endpoint.
|
EndpointMetadata |
withFailureReason(String failureReason)
If the status of the endpoint is
Failed , or the status is InService but update
operation fails, this provides the reason why it failed. |
public void setEndpointName(String endpointName)
The name of the endpoint.
endpointName
- The name of the endpoint.public String getEndpointName()
The name of the endpoint.
public EndpointMetadata withEndpointName(String endpointName)
The name of the endpoint.
endpointName
- The name of the endpoint.public void setEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration.
endpointConfigName
- The name of the endpoint configuration.public String getEndpointConfigName()
The name of the endpoint configuration.
public EndpointMetadata withEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration.
endpointConfigName
- The name of the endpoint configuration.public void setEndpointStatus(String endpointStatus)
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary$EndpointStatus.
endpointStatus
- The status of the endpoint. For possible values of the status of an endpoint, see
EndpointSummary$EndpointStatus.EndpointStatus
public String getEndpointStatus()
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary$EndpointStatus.
EndpointStatus
public EndpointMetadata withEndpointStatus(String endpointStatus)
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary$EndpointStatus.
endpointStatus
- The status of the endpoint. For possible values of the status of an endpoint, see
EndpointSummary$EndpointStatus.EndpointStatus
public EndpointMetadata withEndpointStatus(EndpointStatus endpointStatus)
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary$EndpointStatus.
endpointStatus
- The status of the endpoint. For possible values of the status of an endpoint, see
EndpointSummary$EndpointStatus.EndpointStatus
public void setFailureReason(String failureReason)
If the status of the endpoint is Failed
, or the status is InService
but update
operation fails, this provides the reason why it failed.
failureReason
- If the status of the endpoint is Failed
, or the status is InService
but update
operation fails, this provides the reason why it failed.public String getFailureReason()
If the status of the endpoint is Failed
, or the status is InService
but update
operation fails, this provides the reason why it failed.
Failed
, or the status is InService
but update
operation fails, this provides the reason why it failed.public EndpointMetadata withFailureReason(String failureReason)
If the status of the endpoint is Failed
, or the status is InService
but update
operation fails, this provides the reason why it failed.
failureReason
- If the status of the endpoint is Failed
, or the status is InService
but update
operation fails, this provides the reason why it failed.public String toString()
toString
in class Object
Object.toString()
public EndpointMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.