pub fn is_endpoint_group_already_exists_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateCustomRoutingEndpointGroupErrorKind::EndpointGroupAlreadyExistsException(_)
        )
    }
/// Returns `true` if the error kind is `CreateCustomRoutingEndpointGroupErrorKind::EndpointGroupAlreadyExistsException`.
Returns `true` if the error kind is `CreateCustomRoutingEndpointGroupErrorKind::EndpointGroupAlreadyExistsException`.
Returns ` true ` if the error kind is ` CreateCustomRoutingEndpointGroupErrorKind :: EndpointGroupAlreadyExistsException ` .
pub fn is_endpoint_group_already_exists_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateCustomRoutingEndpointGroupErrorKind::EndpointGroupAlreadyExistsException(_)
        )
    }
pub fn is_endpoint_group_already_exists_exception ( & self ) -> bool { matches ! ( self kind CreateCustomRoutingEndpointGroupErrorKind EndpointGroupAlreadyExistsException ( ) ) }
Returns `true` if the error kind is `CreateCustomRoutingEndpointGroupErrorKind::EndpointGroupAlreadyExistsException`.
Returns ` true ` if the error kind is ` CreateCustomRoutingEndpointGroupErrorKind :: EndpointGroupAlreadyExistsException ` .
&self
&self